(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>
This is the "Country" template.
+
{| class="infobox country" style="float:right;text-align: left; width: 200px; font-size: 100%"  
It should be called in the following format:
+
<pre>
+
{{Country
+
|Name=
+
|mcc=
+
|coordinators=
+
|site=
+
|image=
+
}}
+
</pre>
+
Edit the page to see the template text.
+
</noinclude><includeonly>
+
{| class="wikitable" style="float:right; clear:right; width:270px; margin:5px; font-size:95%; empty-cells:hide"
+
|- style="text-align:center;"
+
! colspan=2 | {{#if:{{{Name|}}}|[[{{{Name|}}}]]|Country}}
+
 
|-
 
|-
! colspan=2 |<div style="margin:10px"></div>
+
| 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}}]]}}
+
 
|-
 
|-
! Site
+
! MCC Prefix
| {{site}}
+
| {{#if:{{{mcc|}}}|{{{mcc|}}}|unspecified }}
 +
|-
 +
! Coordinators
 +
| {{#if:{{{coordinators|}}} | {{#set:
 +
|coordinator={{{coordinators}}}
 +
|template=ByCallsign }} | unspecified }}
 +
|-
 +
! Website
 +
| {{#if:{{{site|}}}|[{{{site|}}} {{{site|}}}]|https://brandmeister.network/ }}
 
|}
 
|}
[[Category:Countries]]
+
[[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>

Latest revision as of 12:19, 31 January 2021


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.