(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly> | |
− | + | {| class="infobox country" style="float:right;text-align: left; width: 200px; font-size: 100%" | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {| class=" | + | |
− | + | ||
− | + | ||
|- | |- | ||
− | + | | colspan=2 style="text-align: center" | {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|size={{{image_width|}}}|sizedefault=frameless|upright={{{upright|1}}}|alt={{{image_alt|}}}}}|No image}} | |
|- | |- | ||
− | ! MCC | + | ! colspan=2 style="text-align: center;background-color:#dfd" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}} }} |
− | | {{{mcc}}} | + | |- |
+ | ! MCC Prefix | ||
+ | | {{#if:{{{mcc|}}}|{{{mcc|}}}|unspecified }} | ||
|- | |- | ||
! Coordinators | ! Coordinators | ||
− | | {{{coordinators}}} | + | | {{#if:{{{coordinators|}}} | {{#set: |
+ | |coordinator={{{coordinators}}} | ||
+ | |template=ByCallsign }} | unspecified }} | ||
|- | |- | ||
− | ! | + | ! Website |
− | | {{{site}}} | + | | {{#if:{{{site|}}}|[{{{site|}}} {{{site|}}}]|https://brandmeister.network/ }} |
|} | |} | ||
[[Category:Country]] | [[Category:Country]] | ||
+ | {{#if:{{{mcc|}}}|[[Category:MCC Prefix]]| }} | ||
+ | {{#set: | ||
+ | Country={{{name|}}} | ||
+ | |MCC={{{mcc|}}} | ||
+ | }} | ||
+ | {{#default_form:Country}} | ||
+ | __SHOWFACTBOX__ | ||
</includeonly> | </includeonly> | ||
+ | <noinclude> | ||
+ | This is a template used in [[Form:Country]] to collect pages in the [[:Category:Country]]. | ||
+ | It is used like this: | ||
+ | <pre> | ||
+ | {{Country | ||
+ | | name=Country Name | ||
+ | | mcc=123 | ||
+ | | image=CountrImage.png | ||
+ | | coordinators=N0CALL | ||
+ | | site=https://brandmeister.network/ | ||
+ | }} | ||
+ | </pre> | ||
+ | [[Category:Info templates]] | ||
+ | </noinclude> |
This is a template used in Form:Country to collect pages in the Category:Country.
It is used like this:
{{Country | name=Country Name | mcc=123 | image=CountrImage.png | coordinators=N0CALL | site=https://brandmeister.network/ }}
This is the "Country" template. It should be called in the following format:
{{Country |Name= |mcc= |coordinators= |site= |image= }}
Edit the page to see the template text.