Difference between revisions of "Template:Centurybox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jimp
imported>Jimp
(have dispenced with the parameter altogether (it's no longer used))
Line 5: Line 5:
 
{{Commonstmp}}
 
{{Commonstmp}}
  
This template is for use on century pages. It can be used in either of two ways:
+
This template is for use on century pages.  
#simply by writing <code><nowiki>{{Centurybox}}</nowiki></code> on any page with a name of the form ''nth century'' or ''nth century BC'' or
+
:Type <code><nowiki>{{Centurybox}}</nowiki></code> on any page with a name of the form ''nth century'' or ''nth century BC''.  It produces a box as in the example to the right.
#by specifying the desired century as a numerical parameter (note: centuries BC can be entered by adding a hyphen before the number), for example  
 
:::*<code><nowiki>{{Centurybox|20}}</nowiki></code> for the 20th century AD
 
:::*<code><nowiki>{{Centurybox|8}}</nowiki></code> for the 8th century AD or
 
:::*<code><nowiki>{{Centurybox|-4}}</nowiki></code> for the 4th century BC.
 
  
 
<includeonly>[[Category:Historical Period Templates |{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:Historical Period Templates |{{PAGENAME}}]]</includeonly>

Revision as of 02:43, 6 July 2007

Template:Template doc page viewed directly Template:Centurybox/ADBC Template:Commonstmp

This template is for use on century pages.

Type {{Centurybox}} on any page with a name of the form nth century or nth century BC. It produces a box as in the example to the right.


simple:Template:Centurybox sv:Mall:Årtal sekel vi:Tiêu bản:Centurybox