Template:Subject by century

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

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

Syntax
{{Subject by century | subject= | image= | mothercat= | nobc =  | showall = }}
Parameters
  • subject (mandatory): will produce a "subject by century" navigational hat to be placed on top of all <n>th-century <subject> categories. Note: Be careful to use a lower case initial for a better result
  • image (optional): will add a 20px thumb (for instance a flag) next to the navigation bar. Use image name without [[File: ]]
    • imagesize/imgsize/size (optional): will change the size of the image
    • border (optional): if this parameter is found (with any value), border will be added around the image (for white-based flags).
  • mothercat (optional): the name of the mother category can be specified, if different from the default format [[Category:<subject> by century]]
  • 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.
  • style/css (optional): additional CSS (current default settings: border:1px solid black; background:#f0f0ff; text-align:center; font-size:x-small; padding:0px;)


Simple example
  • {{Subject by century|pottery}} produces:
Pottery by century: BC 42 · 40 · 38 · 37 · 36 · 35 · 34 · 33 · 32 · 30 · 29 · 28 · 25 · 24 · 23 · 22 · 21 · 20 · 19 · 18 · 17 · 16 · 15 · 14 · 13 · 12 · 11 · 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


Use with more parameters
  • {{Subject by century| subject = architecture in Galicia (Spain) | image = Flag of Galicia.svg | mothercat = Architecture of Galicia (Spain) by century | nobc = 1 }} produces:
Flag of Galicia.svg Architecture of Galicia (Spain) by century: 7 · 10 · 12 · 13 · 14 · 15 · 16 · 17 · 18 · 19 · 20 · 21


Use with showall
  • {{Subject by century| painters | showall=1 }} produces:
Painters by century: BC 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


See also
  • {{Place by century}} for categories named “<Country> in the <n>th century