Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Items: Difference between revisions

Template page
m (WowzersItsMe moved page Template:Item2 to Template:Item: Infobox Builder: template renamed)
m (added Damage for April Fools 2025 weapons)
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<infobox>
<includeonly><infobox layout="stacked">
<title source="title"><default>{{PAGENAME}}</default><format>{{{title}}}</format></title>
<title source="title1">
<image source="image"><caption source="caption"/></image>
<default>{{PAGENAME}}</default>
<group layout="vertical" show="completed">
</title>
<header>INFORMATION</header>
<image source="image1">
<caption source="caption1"/>
<data source="status"><label>Status</label></data>
<data source="type"><label>Type</label></data>
</image>
<data source="fuel_time"><label>Fuel Time</label></data>
<group>
<data source="maximum_stack"><label>Maximum Stack</label></data>
<header>INFORMATION</header>
<data source="type">
<data source="shop_description"><label>Shop Description</label></data>
<label>Type</label>
<data source="shop_price"><label>Shop Price</label></data>
<data source="usage"><label>Usage</label></data>
</data>
<data source="shop_description">
<data source="damage"><label>Damage</label></data>
<label>Shop Description</label>
<data source="size"><label>Size</label></data>
</data>
</group>
<group layout="vertical" show="completed" collapse="closed">
<data source="shop_price">
<header>SOUND FILES</header>
<label>Shop Price</label>
</data>
<data source="sound1"></data>
<data source="usage">
<data source="sound2"></data>
<data source="sound3"></data>
<label>Usage</label>
</data>
<data source="sound4"></data>
<data source="sound5"></data>
</group>
</infobox>
</group>
</infobox>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Items|{{PAGENAME}}]]|}}</includeonly><noinclude>{{Documentation}}</noinclude>
<noinclude>
Example usage:
<pre>
{{Item2

| title1=Example

| image1=Example

| caption1=Example

| type=Example

| shop_description=Example

| shop_price=Example

| usage=Example

}}
</pre>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"type":{"suggested":true},"shop_description":{"suggested":true},"shop_price":{"suggested":true},"usage":{"suggested":true}},"sets":[],"maps":{}}
</templatedata>
</noinclude>

Latest revision as of 15:35, 3 April 2025

{{#vardefine: base page |

   Template:Items
 

}}{{#vardefine: current page | Template:Items}}{{#vardefine: doc page |

 {{#var: base page}}/doc

}}{{#vardefine: namespace |

 Template

}}{{#vardefine: preload |

 Template:Documentation/preload&summary=Create+%2Fdoc+subpage+for+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D&editintro=Template:Documentation/editintro-doc

}}{{#vardefine: preload-sandbox |

 Template:Documentation/preload-sandbox&summary=Create+sandbox+subpage+for+experimenting+on+template+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D

}}{{#vardefine: sandbox |

 {{#var: base page}}/sandbox

}}{{#vardefine: page text |

 page

}}{{#vardefine: doc image |

  

}}

{{#var: doc image }}{{#var: page text}} Documentation[[[[:Template:Fullurl:]] create] | [[Special:Purge/{{#var: current page}}|purge]]]

The documentation for this {{#var: page text}} does not exist. Create it at [[[:Template:Fullurl:]] {{#var: doc page}}].

[[[:Template:Fullurl:]] Create documentation] for this template.
Editors can experiment in this {{#var: page text}}'s sandbox ([[[:Template:Fullurl:]] create] | [[[:Template:Fullurl:]] mirror]) page.
[[Special:PrefixIndex/{{#var: current page}}|Subpages of this {{#var: page text}}]].