Line 1: Line 1:
<noinclude>
+
<includeonly{| class="infobox country" style="float:right;text-align: left; width: 200px; font-size: 100%"  
This is the "Country" template.
+
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">{{{name}}}</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}}}
+
|-
 +
! MCC Prefix
 +
| {{#if:{{{mcc|}}}|{{{mcc|}}}|unspecified }}
 
|-
 
|-
 
! Coordinators
 
! Coordinators
| {{{coordinators}}}
+
| {{#if:{{{coordinators|}}} | {{#set:
 +
|coordinator={{{coordinators}}}
 +
|template=ByCallsign }} | unspecified }}
 
|-
 
|-
! Site
+
! Website
| {{{site}}}
+
| {{#if:{{{site|}}}|[{{{site|}}} {{{site|}}}]|https://brandmeister.network/ }}
 
|}
 
|}
 
[[Category:Country]]
 
[[Category:Country]]
</includeonly>
+
{{#if:{{{mcc|}}}|[[Category:MCC Prefix]]| }}
 +
{{#set:
 +
Country={{{name|}}}
 +
|MCC={{{mcc|}}}
 +
}}
 +
{{#default_form:Country}}
 +
__SHOWFACTBOX__
 +
 
 +
<noinclude
 +
This is a template used in [[Form:Country]] to collect pages in the [[:Category:Country]].
 +
It is used like this:
 +
<nowiki{{Country
 +
| name=Country Name
 +
| mcc=123
 +
| image=CountrImage.png
 +
| coordinators=N0CALL
 +
| site=https://brandmeister.network/
 +
}}
 +
[[Category:Info templates]]

Revision as of 12:10, 31 January 2021

<includeonly{| class="infobox country" style="float:right;text-align: left; width: 200px; font-size: 100%" |- | colspan=2 style="text-align: center" | No image |- ! colspan=2 style="text-align: center;background-color:#dfd" | Country |- ! MCC Prefix | unspecified |- ! Coordinators | unspecified |- ! Website | https://brandmeister.network/ |}



<noinclude This is a template used in Form:Country to collect pages in the Category:Country. It is used like this: <nowiki

File:CountrImage.png
Country Name
MCC Prefix 123
Coordinators N0CALL, 
Website https://brandmeister.network/

<includeonly{| class="infobox country" style="float:right;text-align: left; width: 200px; font-size: 100%" |- | colspan=2 style="text-align: center" | No image |- ! colspan=2 style="text-align: center;background-color:#dfd" | Footer |- ! MCC Prefix | unspecified |- ! Coordinators | unspecified |- ! Website | https://brandmeister.network/ |}



<noinclude This is a template used in Form:Country to collect pages in the Category:Country. It is used like this: <nowiki

File:CountrImage.png
Country Name
MCC Prefix 123
Coordinators N0CALL, 
Website https://brandmeister.network/