Templat:Infobox election/shortname

Dari Wiki Javasatu
Revisi sejak 21 September 2023 06.29 oleh Adminjavasatu (bicara | kontrib) (←Membuat halaman berisi '{{#if:{{{name|}}} |{{#ifeq:{{{link}}}|no |{{{name}}} |{{#ifexist:Template:{{{name}}}/meta/shortname |[[{{{name}}}|{{Template: {{{name}}}/meta/shortname}}]] |{{{name}}} }} }} }}<noinclude> {{documentation|content= This is a subtemplate of {{tl|Infobox election}}, it should not be used directly. == Purpose == This subtemplate takes two inputs, <code>name</code> and <code>link</code>. If link is set to <code>no</code>, then it re...')
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)
Loncat ke navigasi Loncat ke pencarian
Ikon dokumentasi Dokumentasi templat

This is a subtemplate of {{Infobox election}}, it should not be used directly.

Purpose

This subtemplate takes two inputs, name and link. If link is set to no, then it returns the value of name verbatim. Otherwise, if the corresponding {{{{{name}}}/meta/shortname}} template exists, it returns [[{{{name}}}|shortname]] where shortname is the output of the {{{{{name}}}/meta/shortname}} template. If this template does not exist, it returns the value of name verbatim.