Template:Variants manual/doc

From Captain of Industry Wiki
< Template:Variants manual
Revision as of 18:39, 3 November 2022 by NaK (talk | contribs) (Created page with ";Purpose :This template is designed as a subroutine of "Template: Variants" (WIP). ;Usage :This template accepts the following parameters: ::<code>{{{1}}}</code>: Common part of the machine name for all tiers, such as Pipe and Boiler. ::<code>{{{2}}}</code> - <code>{{{8}}}</code>: Remaining part of the machine's name, such as II and Gas :This template requires the page of 1st tier of the machine in the wiki. Notably, all parameters are case-sensitive. ;Example * {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Purpose
This template is designed as a subroutine of "Template: Variants" (WIP).
Usage
This template accepts the following parameters:
{{{1}}}: Common part of the machine name for all tiers, such as Pipe and Boiler.
{{{2}}} - {{{8}}}: Remaining part of the machine's name, such as II and Gas
This template requires the page of 1st tier of the machine in the wiki. Notably, all parameters are case-sensitive.
Example
Details
Bracket Completion
The round brackets may be omitted if the entire parameter is covered by the brackets. For example, you can input "Gas" instead of "(Gas)." However, the brackets cannot be omitted if the parameter is covered partially such as "(Electric) II."
Name of 1st tier machine
This template searches the machine page in the wiki for choosing a format. If there is a page named {{{1}}}, it is considered as 1st tier of the machine. If there is a page named "{{{1}}} {{{2}}}" or "{{{1}}} ({{{2}}})", this name is considered as 1st tier of the machine.