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/doc: Difference between revisions

Template page
(Updated example and template documentation.)
m (forgot to put that in the template when it was added to the template)
Tag: 2017 source edit
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
<noinclude>{{Documentation subpage}}</noinclude>

== Example ==
{{Items
|title=Candle
|image=icon_candle.png
|type=Radius Light Source
|usage=Temporary light source. Can be placed in the rift to transform into a [[Possessed Candle]].
|sound1='''Equipped''' [[File:CandleEquip.mp3]]
|sound2='''Burned out''' [[File:CandleDie.mp3]]
|caption=The icon for the Candle.
|fuel_time=2 minutes (15 seconds per bar)
}}

<pre>
{{Items
|title=Candle
|image=icon_candle.png
|type=Radius Light Source
|usage=Temporary light source. Can be placed in the rift to transform into a [[Possessed Candle]].
|sound1='''Equipped''' [[File:CandleEquip.mp3]]
|sound2='''Burned out''' [[File:CandleDie.mp3]]
|caption=The icon for the Candle.
|fuel_time=2 minutes (15 seconds per bar)
}}
</pre>

== Empty Template ==
== Empty Template ==
<pre>{{Items
<pre>
{{Items
|title =
|title =
|image =
|image =
|caption =
|type =
|type =
|fuel_time =
|maximum_stack=
|shop_description =
|shop_description =
|shop_price =
|shop_price =
Line 13: Line 43:
|sound4 =
|sound4 =
|sound5 =
|sound5 =
}}</pre>

== Usage ==
<pre>{{Items
|image = icon_candle.png
|type = Light source
|usage = Temporary light source; flame slowly dies out. Used to detect entities.
|sound1 = '''Equip''' [[File:CandleEquip.mp3]]
|sound2 = '''Extinguish''' [[File:CandleDie.mp3]]
}}</pre>

== Output ==
{{Items
|image = icon_candle.png
|type = Light source
|usage = Temporary light source; flame slowly dies out. Used to detect entities.
|sound1 = '''Equip''' [[File:CandleEquip.mp3]]
|sound2 = '''Extinguish''' [[File:CandleDie.mp3]]
}}
}}
</pre>


<includeonly>[[Category:Infobox templates]]</includeonly>
<includeonly>[[Category:Infobox templates]]</includeonly>

Latest revision as of 14:32, 11 December 2024

Edit-copy green.svg
This is a template documentation subpage for Template:Items.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.

Example[edit source]

<infobox layout="stacked"> <title source="title"><default>Items/doc</default><format>Candle</format></title>

<image source="image"></image> <group layout="vertical" show="completed"> <header>INFORMATION</header> <label>Status</label> <label>Type</label> <label>Fuel Time</label> <label>Maximum Stack</label> <label>Shop Description</label> <label>Shop Price</label> <label>Usage</label> <label>Damage</label> <label>Size</label> </group> <group layout="vertical" show="completed" collapse="closed"> <header>SOUND FILES</header> </group> </infobox>

{{Items
|title=Candle
|image=icon_candle.png
|type=Radius Light Source
|usage=Temporary light source. Can be placed in the rift to transform into a [[Possessed Candle]].
|sound1='''Equipped''' [[File:CandleEquip.mp3]]
|sound2='''Burned out''' [[File:CandleDie.mp3]]
|caption=The icon for the Candle.
|fuel_time=2 minutes (15 seconds per bar)
}}

Empty Template[edit source]

{{Items
|title = 
|image = 
|caption = 
|type = 
|fuel_time = 
|maximum_stack=
|shop_description = 
|shop_price = 
|usage = 
|sound1 = 
|sound2 = 
|sound3 = 
|sound4 = 
|sound5 = 
}}