Difference between revisions of "Template:Footer Infobox"
From Captain of Industry Wiki
m (Error fixing) |
m (Error fixing) |
||
Line 27: | Line 27: | ||
Note intended line breaks, made for proper transclusion of headers.** | Note intended line breaks, made for proper transclusion of headers.** | ||
-->{{#if: {{#var: fetched_data_1}} | {{Recipe fetch header}} | {{#if: {{#var: fetched_data_2}} | {{Recipe fetch header}} }} }}<!-- | -->{{#if: {{#var: fetched_data_1}} | {{Recipe fetch header}} | {{#if: {{#var: fetched_data_2}} | {{Recipe fetch header}} }} }}<!-- | ||
-->{{#if: {{#var: fetched_data_1}} | | -->{{#if: {{#var: fetched_data_1}} | NULL | ||
{{#var: fetched_data_1}} |}}<!-- | {{#var: fetched_data_1}} |}}<!-- | ||
-->{{#if: {{#var: fetched_data_2}} | | -->{{#if: {{#var: fetched_data_2}} | NULL | ||
{{#var: fetched_data_2}} |}}<!-- | {{#var: fetched_data_2}} |}}<!-- | ||
Revision as of 16:10, 2 May 2023
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
This template is used on 200+ pages. Please, avoid large scale disruption and edit with extra care. |
This template must be invoked on the bottom of every article, which is a game object. This generally refers to any article, which starts with the usage of any of the Infobox templates.
In other words, all items, machines, etc. must contain this at their footer.
Such a structure allows to mass-edit important (but uniform) parts of articles, without the need of manually editing each of them one by one.
Examples of what this template automatically takes care of:
- Paragraphs related to usage within trading system (this is planned, not constructed yet).
- Recipe fetching and drawing (see Template:Recipe fetch and Template:Recipe draw).
- Footer navigation boxes.
- Technical checks (example Template:Footer Cargo).
The above text is transcluded from Template:Footer Infobox/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories and interwikis to Template:Footer Infobox/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories and interwikis to Template:Footer Infobox/doc. (View all subpages of this page.)