fix my fix
Bythmusters (talk | contribs)
m Infoboxes: Replaced Infobox documentation with Cargo
 
(One intermediate revision 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 infoboxes 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.
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?
Line 77: Line 77:
|-
|-
|[[Template:Important|Important]]||<pre>{{Important}}</pre>||{{Important}}
|[[Template:Important|Important]]||<pre>{{Important}}</pre>||{{Important}}
|-
|[[Template:Quote|Quote]]||<pre>{{Quote}}</pre>||{{Quote}}
|}
|}


==Infoboxes==
==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:InfoboxProductLine|InfoboxProductLine]]||<pre>{{InfoboxProductLine}}</pre>||{{InfoboxProductLine}}
|[[Template:IncidentCargo|IncidentCargo]]||
<nowiki>{{IncidentCargo}}</nowiki>
|{{IncidentCargo}}
|-
|[[Template:CompanyCargo|CompanyCargo]]||<pre>{{CompanyCargo}}</pre>||{{CompanyCargo}}
|-
|[[Template:ProductCargo|ProductCargo]]
|<pre>{{ProductCargo}}</pre>
|{{ProductCargo}}
|-
|-
|[[Template:InfoboxCompany|InfoboxCompany]]||<pre>{{InfoboxCompany}}</pre>||{{InfoboxCompany}}
|[[Template:ProductLineCargo|ProductLineCargo]]
|<pre>{{ProductLineCargo}}</pre>
|{{ProductLineCargo}}
|}
|}