Template:Subject by century/sandbox
Jump to navigation
Jump to search
Centuries:
This documentation is transcluded from Template:Subject by century/sandbox/doc.
- This is the sandbox version of the heavily used {{Subject by century}} template.
- Syntax
{{Subject by century/sandbox|subject = |subjecttrans = |mothercat = |mothercattrans = |image = |imagesize = |border = |style = |nobc = |old = |showall = }}
- Parameters
- subject/1 (mandatory): will produce a "subject by century" navigational hat to be placed on top of every "
Category:nth-century [BC] subject
" page.
Make sure to use the appropriate lowercase initial for correct generation of these category names (in English).- subjecttrans (optional): the translatable name to display in the box if mothercat is not used. This parameter will override the subject parameter used to derive the heading.
- mothercat (optional): the name of the mother category can be specified, without "
[[:Category: ]]
", if different from the default format "subject by century
".- mothercattrans (optional): the translatable name to display in the box if mothercat is used. This parameter will override the mothercat parameter.
- image/img (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 (e.g. for flags that may be difficult to distinguish on the background); don't use it if the image is not rectangular (partially transparent) or already includes its own border.
- style/css (optional): additional CSS for the container box to override its default style.
- nobc (optional): if this parameter is found (with any value), the (BC/BCE) or (AD/CE) texts will not appear. This is useful is there are no relevant categories before the 1st century CE.
- old (optional): if this parameter is found (with any value), the list of centuries is terminated in the 20th century, for categories of "old" works created before 1954 (70 years ago, whose copyright is usually extinct). This is useful to track categories containing works which may be public domain (more recent works are usually subject to copyright and licensing requirements, unless this is explicitly stated being public domain from a reliable and verifiable source).
- 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. This is useful is there are other relevant categories to create (these will be shown as red links). Use it temporarily, only in the parent category. If this is used, the labels displayed for each century are not translated but indicate the real value used for every target link.
- Simple example
{{Subject by century/sandbox|sculptures}}
produces:
- Use with more parameters
{{Subject by century/sandbox|subject = architecture in Galicia (Spain)
produces:
|mothercat = Architecture of Galicia (Spain) by century|mothercattrans = {{LangSwitch
|default = Architecture of <bdi>{{Label|Q3908|link=-}}</bdi> by century
|es = Arquitectura de Galicia por siglo
|fr = Architecture de la Galice par siècle
|gl = Arquitectura de Galicia por século
}}
|image = Flag of Galicia.svg|border = 1
|nobc = 1
}}
- Use with showall
{{Subject by century/sandbox | painters|subjecttrans = {{LangSwitch
produces:
|en = Painters
|fr = Peintres
}}
|showall = 1
}}
Painters by century:
- (BCE) [[:Category:50th-century BC painters|50th century BCE]]
- [[:Category:49th-century BC painters|49th century BCE]]
- [[:Category:48th-century BC painters|48th century BCE]]
- [[:Category:47th-century BC painters|47th century BCE]]
- [[:Category:46th-century BC painters|46th century BCE]]
- [[:Category:45th-century BC painters|45th century BCE]]
- [[:Category:44th-century BC painters|44th century BCE]]
- [[:Category:43rd-century BC painters|43rd century BCE]]
- [[:Category:42nd-century BC painters|42nd century BCE]]
- [[:Category:41st-century BC painters|41st century BCE]]
- [[:Category:40th-century BC painters|40th century BCE]]
- [[:Category:39th-century BC painters|39th century BCE]]
- [[:Category:38th-century BC painters|38th century BCE]]
- [[:Category:37th-century BC painters|37th century BCE]]
- [[:Category:36th-century BC painters|36th century BCE]]
- [[:Category:35th-century BC painters|35th century BCE]]
- [[:Category:34th-century BC painters|34th century BCE]]
- [[:Category:33rd-century BC painters|33rd century BCE]]
- [[:Category:32nd-century BC painters|32nd century BCE]]
- [[:Category:31st-century BC painters|31st century BCE]]
- [[:Category:30th-century BC painters|30th century BCE]]
- [[:Category:29th-century BC painters|29th century BCE]]
- [[:Category:28th-century BC painters|28th century BCE]]
- [[:Category:27th-century BC painters|27th century BCE]]
- [[:Category:26th-century BC painters|26th century BCE]]
- [[:Category:25th-century BC painters|25th century BCE]]
- [[:Category:24th-century BC painters|24th century BCE]]
- [[:Category:23rd-century BC painters|23rd century BCE]]
- [[:Category:22nd-century BC painters|22nd century BCE]]
- [[:Category:21st-century BC painters|21st century BCE]]
- [[:Category:20th-century BC painters|20th century BCE]]
- [[:Category:19th-century BC painters|19th century BCE]]
- [[:Category:18th-century BC painters|18th century BCE]]
- [[:Category:17th-century BC painters|17th century BCE]]
- [[:Category:16th-century BC painters|16th century BCE]]
- [[:Category:15th-century BC painters|15th century BCE]]
- [[:Category:14th-century BC painters|14th century BCE]]
- [[:Category:13th-century BC painters|13th century BCE]]
- [[:Category:12th-century BC painters|12th century BCE]]
- [[:Category:11th-century BC painters|11th century BCE]]
- [[:Category:10th-century BC painters|10th century BCE]]
- [[:Category:9th-century BC painters|9th century BCE]]
- [[:Category:8th-century BC painters|8th century BCE]]
- [[:Category:7th-century BC painters|7th century BCE]]
- [[:Category:6th-century BC painters|6th century BCE]]
- [[:Category:5th-century BC painters|5th century BCE]]
- [[:Category:4th-century BC painters|4th century BCE]]
- [[:Category:3rd-century BC painters|3rd century BCE]]
- [[:Category:2nd-century BC painters|2nd century BCE]]
- [[:Category:1st-century BC painters|1st century BCE]]
- (CE) [[:Category:1st-century painters|1st century]]
- [[:Category:2nd-century painters|2nd century]]
- [[:Category:3rd-century painters|3rd century]]
- [[:Category:4th-century painters|4th century]]
- [[:Category:5th-century painters|5th century]]
- [[:Category:6th-century painters|6th century]]
- [[:Category:7th-century painters|7th century]]
- [[:Category:8th-century painters|8th century]]
- [[:Category:9th-century painters|9th century]]
- [[:Category:10th-century painters|10th century]]
- [[:Category:11th-century painters|11th century]]
- [[:Category:12th-century painters|12th century]]
- [[:Category:13th-century painters|13th century]]
- [[:Category:14th-century painters|14th century]]
- [[:Category:15th-century painters|15th century]]
- [[:Category:16th-century painters|16th century]]
- [[:Category:17th-century painters|17th century]]
- [[:Category:18th-century painters|18th century]]
- [[:Category:19th-century painters|19th century]]
- [[:Category:20th-century painters|20th century]]
- [[:Category:21st-century painters|21st century]]
- [[:Category:22nd-century painters|22nd century]]
- [[:Category:23rd-century painters|23rd century]]
- [[:Category:24th-century painters|24th century]]
- [[:Category:25th-century painters|25th century]]
- Internationalisation
- The default heading "subject by century" (only used when the mothercat parameter is not specified) is translated inside this template using the {{LangSwitch}} template. You can add your translations by adding a case with the format
|langcode = ... by century
. - {{BC}}, {{AD}} are used for translating the BC/BCE or AD/CE elements
- {{Century}} is used to translate the centuries (only when showall/all parameters are not set as they will force the English designation used in the target categories).
- See also
- {{Subject by century}} for the normal heavily used template
- {{Place by century}} for categories named “<Country> in the <n>th century”