Difference between revisions of "Template:List of sovereign states strapline"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(merge with BC box)
imported>Plastikspork
(Nested noinclude tags)
 
(8 intermediate revisions by 4 users not shown)
Line 18: Line 18:
 
     }}
 
     }}
 
   }}
 
   }}
 +
| century  = {{Ordinal|{{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0|{{#expr:ceil (({{{year|{{{1|{{CURRENTYEAR}}}}}}}} * -1) / 100)}}|{{#expr:ceil ({{{year|{{{1|{{CURRENTYEAR}}}}}}}} / 100)}}}}}} century {{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0|BC}}
 
| sort_year = {{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0
 
| sort_year = {{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0
 
   |-{{padleft:{{#expr:10000+{{{year|{{{1|{{CURRENTYEAR}}}}}}}} }}|5}}
 
   |-{{padleft:{{#expr:10000+{{{year|{{{1|{{CURRENTYEAR}}}}}}}} }}|5}}
Line 25: Line 26:
 
}}<noinclude>
 
}}<noinclude>
 
{{intricate template}}
 
{{intricate template}}
 +
{{documentation|content=
 +
This template is designed to be used with List of sovereign states by year articles.
 +
 +
== Usage ==
 +
: <code>{{tld|{{BASEPAGENAME}}|YYYY}}</code> for years 1, 2, ..., present
 +
: <code>{{tld|{{BASEPAGENAME}}|-YYY}}</code> for years 1 BC, 2 BC, ...
 +
 +
== Example ==
 +
Use <code>{{tld|{{BASEPAGENAME}}|1848}}</code> in [[List of sovereign states in 1848]].
 +
 +
See what links to this template for live examples.
 +
 +
== Categories ==
 +
This template will automatically add the transcluding page to the following categories
 +
* <code><nowiki>[[Category:YYYY-related lists]]</nowiki></code>, if it exists, otherwise
 +
** <code><nowiki>[[Category:YYYY]]</nowiki></code>, plus
 +
** <code><nowiki>[[Category:YYY0s-related lists]]</nowiki></code>, if it exists
 +
* <code><nowiki>[[Category:Lists of sovereign states by year]]</nowiki></code>
 +
* <code><nowiki>[[Category:YYYY in international relations]]</nowiki></code>
 +
To disable this feature (for demonstration pages) use {{para|_nocat|true}}.
 +
 +
== See also ==
 +
* {{tl|SLBY}}
  
 
[[Category:Country templates| ]]
 
[[Category:Country templates| ]]
</noinclude>
+
}}</noinclude>

Latest revision as of 01:33, 27 April 2020

Sovereign states by year
List of sovereign states in 2024 Events of 2025 List of sovereign states in 2026
Template documentation

This template is designed to be used with List of sovereign states by year articles.

Usage

{{List of sovereign states strapline|YYYY}} for years 1, 2, ..., present
{{List of sovereign states strapline|-YYY}} for years 1 BC, 2 BC, ...

Example

Use {{List of sovereign states strapline|1848}} in List of sovereign states in 1848.

See what links to this template for live examples.

Categories

This template will automatically add the transcluding page to the following categories

  • [[Category:YYYY-related lists]], if it exists, otherwise
    • [[Category:YYYY]], plus
    • [[Category:YYY0s-related lists]], if it exists
  • [[Category:Lists of sovereign states by year]]
  • [[Category:YYYY in international relations]]

To disable this feature (for demonstration pages) use |_nocat=true.

See also