Template:Place by century/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Syntax
{{place by century | place= | image= | border = | mothercat= | nobc =  | showall = }}
Parameters
  • place (mandatory): will produce a "place by century" navigational bar 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. Flag of <place>.svg will be used by default if it exists. Use image name without [[File: ]]
  • border (optional): if this parameter is set (with any value), border will added around Flag of <place>.svg
  • mothercat (optional): the name of the mother category can be specified, if different from the default formats [[Category:Centuries in <place>]] OR [[Category:<place> by century]]
  • nobc (optional): if this parameter is set (with any value), the BC/CE texts will not appear. This is useful when there are no relevant categories before the 1st century CE.
  • showall (optional): if this parameter is set (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 58534845252320191817161514131210987654321
CE 123456789101112131415161718192021


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: 1112131415161718192021


Use with showall
  • {{place by century|Greece| showall=1 }} produces:
Flag of Greece.svg Greece by century: BC 58534845252320191817161514131210 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