Templat:Angkatan darat/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
Taylorbot (bicara | kontrib)
per BPA : sintaks <br> dan <code> | t=12'319 su=1'884 in=2'061 at=1899 -- only 2361 edits left of totally 4'246 possible edits | edr=000-0011(!!!) ovr=010-1111 aft=000-0011
 
(5 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 1:
{{subhalaman dokumentasi}}
{{documentation subpage}}
=== Penggunaan ===
{{tidak diterjemahkan|d=17|m=11|y=2009|i=14|ket=|kat=no}}
<ttcode><nowiki>{{armyangkatan darat|nationnegara|variantvarian|size=optionalopsional|name=optionalopsional}}</nowiki></ttcode>
==Usage==
<!--
<tt><nowiki>{{army|nation|variant|size=optional|name=optional}}</nowiki></tt>
 
Produces a flag icon attached to a wikilinked national army article.
;Parameters
Baris 9 ⟶ 8:
*''variant'' (optional) — Specifies an alternate (historical) army flag to use. This parameter is documented by the appropriate template in [[:Category:Country data templates]]. Note that the standard behaviour of this template is to use the <code>army</code> variant if present, so there is no need to specify this variant in the template call.
*''size'' (optional) — Can be used to change the flag icon size
*''name'' (optional) — Can be used to change the wikilink display text -->
 
==Examples= Contoh ===
* <ttcode><nowiki>{{armyangkatan darat|United Kingdom}}</nowiki></ttcode> → {{armyangkatan darat|United Kingdom}}
* <ttcode><nowiki>{{armyangkatan darat|USA}}</nowiki></ttcode> → {{armyangkatan darat|USA}}
* <ttcode><nowiki>{{armyangkatan darat|CHN}}</nowiki></ttcode> → {{armyangkatan darat|CHN}}
* <ttcode><nowiki>{{armyangkatan darat|Republic of China}}</nowiki></ttcode> → {{armyangkatan darat|Republic of China}}
* <ttcode><nowiki>{{armyangkatan darat|Empire of Japan}}</nowiki></ttcode> → {{armyangkatan darat|Empire of Japan}}
* <ttcode><nowiki>{{armyangkatan darat|Empire of Japan|name=Japan}}</nowiki></ttcode> → {{armyangkatan darat|Empire of Japan|name=Japan}}
* <ttcode><nowiki>{{armyangkatan darat|India}}</nowiki></ttcode> → {{armyangkatan darat|India}}
* <ttcode><nowiki>{{armyangkatan darat|Pakistan}}</nowiki></ttcode> → {{armyangkatan darat|Pakistan}}
* <ttcode><nowiki>{{armyangkatan darat|Canada}}</nowiki></ttcode> → {{armyangkatan darat|Canada}}
 
==Other related templates==
The {{tl|flagicon}} template can be used to display the flag by itself, using the <tt>army</tt> variant as a template parameter:
*<tt><nowiki>{{flagicon|UK|army}}</nowiki></tt> → {{flagicon|UK|army}}
*<tt><nowiki>{{flagicon|US|army}}</nowiki></tt> → {{flagicon|US|army}}
*<tt><nowiki>{{flagicon|Empire of Japan|army}}</nowiki></tt> → {{flagicon|Empire of Japan|army}}
*<tt><nowiki>{{flagicon|ROC|army}}</nowiki></tt> → {{flagicon|ROC|army}}
 
==Implementation notes==
By default, this template shows the standard national flag for the selected country, following by a wikilink to "''Country'' Army". Either or both of these items can be changed by adding specific parameters to the appropriate <tt>country_data</tt> template (complete set found in [[:Category:Country data templates]]).
 
To use a different flag, such as an army-specific flag for the nation, use:
:<tt>flag alias-army = ''image name''</tt>
To use a different name for the wikilinked navy article, use:
:<tt>link alias-army = ''article name''</tt>
 
=== Lihat pula ===
* {{tl|Angkatan laut}}
* {{tl|Angkatan udara}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Kategori:Sistem templat bendera|{{PAGENAME}}]]
[[Kategori:Templat militer|{{PAGENAME}}]]
[[Kategori:Templat bendera|{{PAGENAME}}]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[en:Template:Army]]
[[mk:Шаблон:Армија]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[simple:Template:Army]]
[[zh:Template:Army]]
</includeonly>