Help:Templates: Difference between revisions
saving for now, continuing to add the rest of them |
Bythmusters (talk | contribs) m →Infoboxes: Replaced Infobox documentation with Cargo |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{WIP}} | |||
Featured on this page are lists of templates to use as headers and/or footers for your page. | Featured on this page are lists of templates to use as headers and/or footers for your page. | ||
If you see previewed templates wrapped in double curly braces, that means it is an required argument. | If you see previewed templates wrapped in double curly braces, that means it is an required argument. | ||
Templates basically act as reusable building blocks that power everything from | Templates basically act as reusable building blocks that power everything from cargo to banners. Think of them like functions in code: you create them once, then use them anywhere with a simple call like <code><nowiki>{{TemplateName}}</nowiki></code>. It's efficient, consistent, and easy to maintain. Reduce, Reuse, Recycle. | ||
Isn’t that | Isn’t that cool? | ||
==Page Information Headers== | |||
{| class="wikitable sortable" | |||
|- | |||
!Template Name!!Template Code!!Template Preview | |||
|- | |||
|[[Template:DeletionRequest|DeletionRequest]]||<pre>{{DeletionRequest}}</pre>||{{DeletionRequest}} | |||
|- | |||
|[[Template:Garbage|Garbage]]||<pre>{{Garbage}}</pre>||{{Garbage}} | |||
|- | |||
|[[Template:Irrelevant|Irrelevant]]||<pre>{{Irrelevant}}</pre>||{{Irrelevant}} | |||
|- | |||
|[[Template:MergeRequest|MergeRequest]]||<pre>{{MergeRequest}}</pre>||{{MergeRequest}} | |||
|- | |||
|[[Template:SloppyAI|SloppyAI]]||<pre>{{SloppyAI}}</pre>||{{SloppyAI}} | |||
|- | |||
|[[Template:StubNotice|StubNotice]]||<pre>{{StubNotice}}</pre>||{{StubNotice}} | |||
|- | |||
|[[Template:ToneWarning|ToneWarning]]||<pre>{{ToneWarning}}</pre>||{{ToneWarning}} | |||
|} | |||
== Page | ==About The Page Itself== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! Template Name !! Template Code !! Template Preview | !Template Name!!Template Code!!Template Preview | ||
|- | |- | ||
| [[Template: | |[[Template:Alert|Alert]]||<pre>{{Alert}}</pre>||{{Alert}} | ||
|- | |- | ||
| [[Template: | |[[Template:Notice|Notice]]||<pre>{{Notice}}</pre>||{{Notice}} | ||
|- | |- | ||
| [[Template: | |[[Template:Warning|Warning]]||<pre>{{Warning}}</pre>||{{Warning}} | ||
|- | |- | ||
| [[Template: | |[[Template:Incomplete section|Incomplete section]]||<pre>{{Incomplete section}}</pre>||{{Incomplete section}} | ||
|- | |- | ||
| [[Template: | |[[Template:Placeholder box|Placeholder box]]||<pre>{{Placeholder box}}</pre>||{{Placeholder box}} | ||
|- | |- | ||
| [[Template: | |[[Template:Under_Development|Under_Development]]||<pre>{{Under_Development}}</pre>||{{Under_Development}} | ||
|- | |- | ||
| [[Template: | |[[Template:Collapsible list|Collapsible list]]||<pre>{Collapsible list}}</pre>|| {{Collapsible list}} | ||
|- | |- | ||
| [[Template: | |[[Template:ConsumerImpactSection|ConsumerImpactSection]]||<pre>{{ConsumerImpactSection}}</pre>||{{ConsumerImpactSection}} | ||
|} | |} | ||
== | ==Text Headers== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
! Template Name !! Template Code !! Template Preview | !Template Name!!Template Code!!Template Preview | ||
|- | |||
|[[Template:Citation needed|Citation needed]]||<pre>{{Citation needed}}</pre>||{{Citation needed}} | |||
|- | |||
|[[Template:Clarify|Clarify]]||<pre>{{Clarify}}</pre>||{{Clarify}} | |||
|- | |||
|[[Template:DisputedInline|DisputedInline]]||<pre>{{DisputedInline}}</pre>||{{DisputedInline}} | |||
|- | |||
|[[Template:UpdateNeeded|UpdateNeeded]]||<pre>{{UpdateNeeded}}</pre>||{{UpdateNeeded}} | |||
|- | |- | ||
| [[Template: | |[[Template:Box|Box]]||<pre>{{Box}}</pre>||{{Box}} | ||
|- | |- | ||
| [[Template: | |[[Template:Colortext|Colortext]]||<pre>{{Colortext}}</pre>||{{Colortext}} | ||
|- | |- | ||
| [[Template: | |[[Template:ColorOutlinetext|ColorOutlinetext]]||<pre>{{ColorOutlinetext}}</pre>||{{ColorOutlinetext}} | ||
|- | |- | ||
| [[Template: | |[[Template:Spoiler|Spoiler]]||<pre>{{Spoiler}}</pre>||{{Spoiler}} | ||
|- | |- | ||
| [[Template: | |[[Template:Clear|Clear]]||<pre>{{Clear}}</pre>||{{Clear}} | ||
|- | |- | ||
| [[Template: | |[[Template:Nowrap|Nowrap]]||<pre>{{NoWrap}}</pre>||{{Nowrap}} | ||
|- | |||
|[[Template:Important|Important]]||<pre>{{Important}}</pre>||{{Important}} | |||
|} | |} | ||
== | ==Cargo== | ||
Previously, infobox templates were used, but are being phased out for new Cargo templates. See [[Projects:Cargo-complete]]. | |||
{| class="wikitable sortable" | |||
|- | |||
!Template Name!!Template Code!!Template Preview | |||
|- | |||
|[[Template:IncidentCargo|IncidentCargo]]|| | |||
<nowiki>{{IncidentCargo}}</nowiki> | |||
|{{IncidentCargo}} | |||
|- | |||
|[[Template:CompanyCargo|CompanyCargo]]||<pre>{{CompanyCargo}}</pre>||{{CompanyCargo}} | |||
|- | |||
|[[Template:ProductCargo|ProductCargo]] | |||
|<pre>{{ProductCargo}}</pre> | |||
|{{ProductCargo}} | |||
|- | |||
|[[Template:ProductLineCargo|ProductLineCargo]] | |||
|<pre>{{ProductLineCargo}}</pre> | |||
|{{ProductLineCargo}} | |||
|} | |||