Template:TestCountrySidebar: Difference between revisions
m (Protected "Template:TestCountrySidebar" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(Minor changes to align with real template.) |
||
| Line 80: | Line 80: | ||
--><!--{{#iferror: {{#expr: 1 and {{#sub:{{PAGENAME}}|-1}} }} | | <div style="border:3px solid #FFF4C7; border-radius:7px; background-color:#FFFCF0; padding:3px; margin:0.1em; display:inline-block; width:1080px;">[[File:Ambox warning yellow.svg.png|150px|left]] <div style="color:#7C760E; font-weight:bold; font-size:3em; margin-top:7px;">Warning!</div><br><div style="font-size:1.5em;">The page you tried to create ('''{{PAGENAME}}''') is similar to a page that already exists: '''[[{{#sub: {{PAGENAME}}|0|25}}]]'''.<br><br><span style="font-size:0.9em;">Please delete the page you created ({{PAGENAME}}).</span></div></div> }}--> | --><!--{{#iferror: {{#expr: 1 and {{#sub:{{PAGENAME}}|-1}} }} | | <div style="border:3px solid #FFF4C7; border-radius:7px; background-color:#FFFCF0; padding:3px; margin:0.1em; display:inline-block; width:1080px;">[[File:Ambox warning yellow.svg.png|150px|left]] <div style="color:#7C760E; font-weight:bold; font-size:3em; margin-top:7px;">Warning!</div><br><div style="font-size:1.5em;">The page you tried to create ('''{{PAGENAME}}''') is similar to a page that already exists: '''[[{{#sub: {{PAGENAME}}|0|25}}]]'''.<br><br><span style="font-size:0.9em;">Please delete the page you created ({{PAGENAME}}).</span></div></div> }}--> | ||
{| style="float:right; width:20%; margin-left:10px; border-spacing:0px; border:1px solid gray; box-shadow:1px 1px 3px #888888;" | {| style="float:right; width:20%; margin-left:10px; border-spacing:0px; border:1px solid gray; box-shadow:1px 1px 3px #888888;" | ||
<!--------------------------------------------Array Section (Replace with Cargo)----------------------> | <!--------------------------------------------Array Section (Replace with Cargo)----------------------> | ||
| Line 555: | Line 554: | ||
|}<!-- | |}<!-- | ||
-->[[Category:CountrySidebars]] [[Category:{{{Country|}}}]]<!-- | -->[[Category:CountrySidebars]] [[Category:{{{Country|}}}]]<!-- | ||
-->{{DISPLAYTITLE:{{{Country|}}} {{# | -->{{DISPLAYTITLE:{{{Country|}}} {{#switch: {{{Type|}}} | Country | Territory | Special = Genealogy | {{{Getting Started|}}}{{{Records|}}}{{{Background|}}}{{{Cultural Groups|}}}{{{Local Resources|}}} }} }}<!-- | ||
-->__NOCACHE__{{#switch: {{{Getting Started|}}}{{{Records|}}}{{{Background|}}}{{{Cultural Groups|}}}{{{Local Resources|}}} | -->__NOCACHE__{{#switch: {{{Getting Started|}}}{{{Records|}}}{{{Background|}}}{{{Cultural Groups|}}}{{{Local Resources|}}} | ||
| <!-- Case for Country page (i.e. no Topic) --> | | <!-- Case for Country page (i.e. no Topic) --> | ||
Revision as of 13:14, 29 October 2024
This is the "TestCountrySidebar" template, note this is used for testing the actual CountrySidebar template. It should be called in the following format:
{{CountrySidebar
|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.