Template:TestCountrySidebar: Difference between revisions
 (Minor changes to align with real template.)  | 
				 (Fixed Category:Template from being trascluded.)  | 
				||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
This is the "TestCountrySidebar" template, note this is used for testing the actual [[Template:CountrySidebar|CountrySidebar]] template.  It should be called in the following format:  | This is the "TestCountrySidebar" template, note this is used for testing the actual [[Template:CountrySidebar|CountrySidebar]] template.  It should be called in the following format:  | ||
<pre>  | <pre>  | ||
{{  | {{TestCountrySidebar  | ||
|Country=            (full name, i.e. "Côte d'Ivoire")  | |Country=            (full name, i.e. "Côte d'Ivoire")  | ||
|Name=               (name with restricted characters removed, i.e. "Côte dIvoire")  | |Name=               (name with restricted characters removed, i.e. "Côte dIvoire")  | ||
| Line 552: | Line 552: | ||
| {{#ifexpr:{{#arraysize:localResources}}<4 | |style="column-count:2; -webkit-column-count:2; -moz-column-count:2;"}}|  | | {{#ifexpr:{{#arraysize:localResources}}<4 | |style="column-count:2; -webkit-column-count:2; -moz-column-count:2;"}}|  | ||
{{#arrayprint:localResources|}}  | {{#arrayprint:localResources|}}  | ||
|}<!--  | |}  | ||
{{#switch: {{{Country|}}}  | |||
 | Syria = Translate this page into [https://translate.google.com/translate?hl=en&sl=auto&tl=ar&u={{SERVER}}{{SCRIPTPATH}}/{{FULLPAGENAMEE}} Arabic عربي]  | |||
 | #default =   | |||
}}<!--  | |||
-->[[Category:CountrySidebars]] [[Category:{{{Country|}}}]]<!--  | -->[[Category:CountrySidebars]] [[Category:{{{Country|}}}]]<!--  | ||
-->{{DISPLAYTITLE:{{{Country|}}} {{#switch: {{{Type|}}} | Country | Territory | Special = Genealogy | {{{Getting Started|}}}{{{Records|}}}{{{Background|}}}{{{Cultural Groups|}}}{{{Local Resources|}}} }} }}<!--  | -->{{DISPLAYTITLE:{{{Country|}}} {{#switch: {{{Type|}}} | Country | Territory | Special = Genealogy | {{{Getting Started|}}}{{{Records|}}}{{{Background|}}}{{{Cultural Groups|}}}{{{Local Resources|}}} }} }}<!--  | ||
| Line 563: | Line 567: | ||
}}  | }}  | ||
</includeonly>  | </includeonly>  | ||
<noinclude>[[Category:Template]]</noinclude>  | |||
Latest revision as of 20:15, 22 May 2025
This is the "TestCountrySidebar" template, note this is used for testing the actual CountrySidebar template. It should be called in the following format:
{{TestCountrySidebar
|Country=            (full name, i.e. "Côte d'Ivoire")
|Name=               (name with restricted characters removed, i.e. "Côte dIvoire")
|Type=
|Topic Type=
|Getting Started=
|Records=
|Background=
|Cultural Groups=
|Local Resources=
|Topic=
|Rating=
|Start Date=
|Start Circa=
|Start Questionable=
|Current=
|End Date=
|End Circa=
|End Questionable=
|Center=
|Coordinates=
|Population=
|Languages=
}}
Edit the page to see the template text.