TenthFleet:Template guide: Difference between revisions
Create Template guide (verified template/infobox catalogue) |
m Add Editor's Handbook read-in-order side navbox |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
The '''Template guide''' | {{Editor handbook}} | ||
The '''Template guide''' catalogs the templates used on the Tenth Fleet Wiki and explains which one to use for each kind of content. Every parameter listed here is taken from the template's own source. For ''how'' to lay out a particular kind of page, see the [[TenthFleet:Contributor's guide|Contributor's guide]] and the per-topic building guides. | |||
All parameters are optional unless noted; include only the ones you need. | All parameters are optional unless noted; include only the ones you need. | ||
| Line 12: | Line 13: | ||
| {{tl|Infobox-peerage}} || A [[peerage]] land — barony, county, duchy, grand duchy, steadholding, or senator-for-life || <code>name, rank, holder, nation, planet, created, elevated, created_by, coronet, seat, motto, image, arms_caption, status</code> | | {{tl|Infobox-peerage}} || A [[peerage]] land — barony, county, duchy, grand duchy, steadholding, or senator-for-life || <code>name, rank, holder, nation, planet, created, elevated, created_by, coronet, seat, motto, image, arms_caption, status</code> | ||
|- | |- | ||
| {{tl|Infobox-award}} || An [[Awards|award]] or decoration || <code>name, postnom, abbrev, ribbon, medal, tier, precedence, type, branches, authority, eligibility, announced</code> | | {{tl|Infobox-award}} || An [[Awards Listing|award]] or decoration || <code>name, postnom, abbrev, ribbon, medal, tier, precedence, type, branches, authority, eligibility, announced</code> | ||
|- | |- | ||
| {{tl|Infobox-chapter}} || A ship (a local [[chapter]]) || <code>name, hcn, type, class, branch, fleet, city, co, reportsto, crest, image, status</code> | | {{tl|Infobox-chapter}} || A ship (a local [[chapter]]) || <code>name, hcn, type, class, branch, fleet, city, co, reportsto, crest, image, status</code> | ||
| Line 101: | Line 102: | ||
==Inline helpers== | ==Inline helpers== | ||
* {{tl|trmn}} — the | * {{tl|trmn}} — the organization's full legal name. | ||
* {{tl|hms}} — a ship name with its hull number: <code><nowiki>{{hms|Medusa|SD-316}}</nowiki></code> renders {{hms|Medusa|SD-316}}. Companion prefixes for other navies: {{tl|gsn}}, {{tl|gsns}}, {{tl|gsn-ha}}, {{tl|gsnlac}}, {{tl|rhns}}, {{tl|sms}}. | * {{tl|hms}} — a ship name with its hull number: <code><nowiki>{{hms|Medusa|SD-316}}</nowiki></code> renders {{hms|Medusa|SD-316}}. Companion prefixes for other navies: {{tl|gsn}}, {{tl|gsns}}, {{tl|gsn-ha}}, {{tl|gsnlac}}, {{tl|rhns}}, {{tl|sms}}. | ||
* {{tl|w}} — a link to Wikipedia: <code><nowiki>{{w|Main Page|Wikipedia}}</nowiki></code>. | * {{tl|w}} — a link to Wikipedia: <code><nowiki>{{w|Main Page|Wikipedia}}</nowiki></code>. | ||