Difference between revisions of "Template:ATechResource"
From A Wiki in the Desert
(Created page with "<noinclude>''Allows the displaying of Resource Needed on Technology pages'', requires a table first Usage: * <NOWIKI>{{ATechResource | Resource | Quantity}}</NOWIKI> : : Whe...") |
m (Added doc page) |
||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
</noinclude><includeonly>{{ATechRow|{{#ifexist: {{{1}}} | [[{{{link|{{{1|None}}}}}}|{{{1|None}}}]] | {{#ifexist: {{{3}}} | [[{{{link|{{{3|None}}}}}}|{{{1|None}}}]] | {{{1}}} }}}}|{{{2|?}}}}}</includeonly><noinclude> | </noinclude><includeonly>{{ATechRow|{{#ifexist: {{{1}}} | [[{{{link|{{{1|None}}}}}}|{{{1|None}}}]] | {{#ifexist: {{{3}}} | [[{{{link|{{{3|None}}}}}}|{{{1|None}}}]] | {{{1}}} }}}}|{{{2|?}}}}}</includeonly><noinclude> | ||
− | [[Category: | + | [[Category: Templates]] {{DEFAULTSORT:{{SUBPAGENAME}}}} |
+ | </noinclude> | ||
+ | <noinclude> | ||
+ | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:01, 17 May 2021
Allows the displaying of Resource Needed on Technology pages, requires a table first
Usage:
- {{ATechResource | Resource | Quantity}}
- Where the resource has a main page, but the resource requirement is more detailed, such as a Quality 2k Test Tube, place the main resource item at the end:
- {{ATechResource | Resource with detail | Quantity | Resource without detail}}
Example:
- {{ATechResource | Boards | 1000}} produces:
Boards | 1000 |
- {{ATechResource | Quality 2k Test Tube | 10 | Test Tube }} produces
Quality 2k Test Tube | 10 |
Template documentation (for the above template, sometimes hidden or invisible)
Legacy Template |
Visit Template:ATechResource/doc to edit this text! (How does this work?)