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...")
 
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>
{|
+
== Usage ==
! colspan="2"|[[Image:{{{image|PinkBox.png}}}]]
+
Adds an automatically generated 'Produced By' section to a resource page.
|-
+
 
|Bulk || {{{bulk|}}}
+
Usage:
|-
+
 
|Weight || {{{weight|}}}
 
|}
 
</div>[[description::{{{description}}}| ]]<noinclude>
 
==Usage==
 
 
<code>
 
<code>
<nowiki>{{Template:ItemInfo|weight=1|bulk=1|image=PinkBox.png|description=A pink box}}</nowiki>
+
<nowiki>{{ProducedBy}}</nowiki>
 
</code>
 
</code>
 
+
[[Category: Template]]  {{DEFAULTSORT:{{SUBPAGENAME}}}}
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>

Revision as of 08:39, 4 March 2018

Usage

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

Usage:

{{ProducedBy}}