Help:Templates: Difference between revisions
removed deleted template |
Bythmusters (talk | contribs) m →Infoboxes: Replaced Infobox documentation with Cargo |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
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 cool? | Isn’t that cool? | ||
==Page Information Headers== | ==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}} | |||
|} | |||
==About The Page Itself== | ==About The Page Itself== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 58: | Line 77: | ||
|- | |- | ||
|[[Template:Important|Important]]||<pre>{{Important}}</pre>||{{Important}} | |[[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" | {| class="wikitable sortable" | ||
|- | |- | ||
!Template Name!!Template Code!!Template Preview | !Template Name!!Template Code!!Template Preview | ||
|- | |- | ||
|[[Template: | |[[Template:IncidentCargo|IncidentCargo]]|| | ||
<nowiki>{{IncidentCargo}}</nowiki> | |||
|{{IncidentCargo}} | |||
|- | |||
|[[Template:CompanyCargo|CompanyCargo]]||<pre>{{CompanyCargo}}</pre>||{{CompanyCargo}} | |||
|- | |||
|[[Template:ProductCargo|ProductCargo]] | |||
|<pre>{{ProductCargo}}</pre> | |||
|{{ProductCargo}} | |||
|- | |- | ||
|[[Template: | |[[Template:ProductLineCargo|ProductLineCargo]] | ||
|<pre>{{ProductLineCargo}}</pre> | |||
|{{ProductLineCargo}} | |||
|} | |} | ||