Template:Place by century

From Wikimedia Commons, the free media repository
Jump to: navigation, search


Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:Place by century/doc.


Syntax
{{place by century | place= | image= | mothercat= | nobc =  | showall = }}
Parameters
  • place (mandatory): will produce a "place by century" navigational hat to be placed on top of all <place> in the <n>th century categories. Note: Be careful to use an upper case initial for a better result
  • image (optional): will add a 25px thumb next to the navigation bar. If present, Flag of <place>.svg will be used by default. Use image name without [[File: ]]
  • mothercat (optional): the name of the mother category can be specified, if different from the default format [[Category:Centuries in <place>]]
  • nobc (optional): if this parameter is found (with any value), the BC/CE texts will not appear. This is useful is there are no relevant categories before the 1st century CE.
  • showall (optional): if this parameter is found (with any value), links to all century categories starting with the 10th century BC will appear, even if they are empty. This parameter will override the nobc parameter.


Simple example
  • {{place by century|Greece}} produces:
Flag of Greece.svg Greece by century: BC 58 53 48 45 25 23 20 19 18 17 16 15 14 13 12 10 9 8 7 6 5 4 3 2 1
CE 1 2 3 4 5 6 7 8 11 12 13 14 15 16 17 18 19 20 21



Use with more parameters
  • {{place by century| place = Barcelona | image = Bandera de Barcelona de 1996.svg | mothercat = Barcelona by century | nobc = 1 }} produces:
Bandera de Barcelona de 1996.svg Barcelona by century: 11 12 13 14 15 16 17 18 19 20 21



Use with showall
  • {{place by century|Greece| showall=1 }} produces:
Flag of Greece.svg Greece by century: BC 58 53 48 45 25 23 20 19 18 17 16 15 14 13 12 10 9 8 7 6 5 4 3 2 1
CE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22