A Wiki in the Desert
Log in

Difference between revisions of "Template:ProducedBy"

From A Wiki in the Desert
(Created page with "__NOTOC__ <div class="iteminfo" style="align:right; float:right; margin: 5px 0px 5px 5px; border-width:1px; border-style:solid;"> {| ! colspan="2"|Image:{{{image|PinkBox.png...")
 
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
<includeonly>== Produced By ==
<div class="iteminfo" style="align:right; float:right; margin: 5px 0px 5px 5px; border-width:1px; border-style:solid;">
+
{{#ask: [[produces::{{PAGENAME}}]] [[:+]]}}</includeonly><noinclude>
{|
+
{{Documentation}}
! colspan="2"|[[Image:{{{image|PinkBox.png}}}]]
+
[[Category:Content templates]]
|-
 
|Bulk || {{{bulk|}}}
 
|-
 
|Weight || {{{weight|}}}
 
|}
 
</div>[[description::{{{description}}}| ]]<noinclude>
 
==Usage==
 
<code>
 
<nowiki>{{Template:ItemInfo|weight=1|bulk=1|image=PinkBox.png|description=A pink box}}</nowiki>
 
</code>
 
 
 
The description is stored as semantic markup, and displayed on listing pages that include the item.
 
 
 
In order to keep the automatically generated lists on item and skill/technology pages up-to-date, annotate the first usage of each item, skill or technology with 'requires' as appropriate. For example: <br> <br> <br> <br> <br>
 
 
 
<nowiki>
 
  Boards are made from [[requires::Wood]] on a [[requires::Wood Plane]]
 
or a [[requires::Carpentry Shop]].
 
  This requires the [[requires::Carpentry]] skill.
 
</nowiki>
 
 
 
To have an auto-generated list of anything that requires this item added to the bottom of the item page, include the <nowiki>{{RequiredBy}}</nowiki> template. To have an auto-generated list of anything that produces this item, include the <nowiki>{{ProducedBy}}</nowiki> template.
 
[[Category: Template]] {{DEFAULTSORT:ItemInfo}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:46, 17 May 2021

Template documentation (for the above template, sometimes hidden or invisible)

Usage

Adds an automatically generated 'Produced By' section to a resource page.

Usage:

{{ProducedBy}}


Visit Template:ProducedBy/doc to edit this text! (How does this work?)