Difference between revisions of "Template:Summary/Items/LotionsAndOrPotions"

From ParadoxWiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly><center>[[Image:{{{imagename}}}]]</center>
This template is to be used in the description section of a [[lotions and/or potions]] item.
 
 
 
To see how to use the template on a page, edit the Description section of the page [[replacement snot]].
 
</noinclude>
 
  
 
{{{description}}}
 
{{{description}}}
  
<b>Type:</b> [[lotions and/or potions]]<br>
+
<b>Type:</b> [[:Category:Lotions and/or Potions|lotions and/or potions]]<br>
 
<b>Autosell value:</b> {{{autosell}}}<br>
 
<b>Autosell value:</b> {{{autosell}}}<br>
  
Line 15: Line 11:
 
<b>{{{traded}}} be traded</b><br>
 
<b>{{{traded}}} be traded</b><br>
  
<b>Plural:</b> {{{plural}}}
+
<b>Plural:</b> {{#if:{{{plural}}}|{{{plural}}}|unknown}}</includeonly><noinclude>
 +
This template is to be used at the top of a lotions and/or potions item article.
 +
 
 +
==Usage==
 +
<nowiki>{</nowiki>{Summary/Items/LotionsAndOrPotions
 +
|imagename=''filename''
 +
|description=''text''
 +
|autosell=''value''
 +
|discarded=''Can|Cannot''
 +
|autosold=''Can|Cannot''
 +
|traded=''Can|Cannot''
 +
|stored=''Can|Cannot''
 +
|plural=''text''
 +
}}
 +
 
 +
==Examples==
 +
Sorry about the format of this, still an issue to work out. Paramaters are easier to read if listed on separate lines as shown above.
 +
 
 +
:<code><nowiki>{{Summary/Items/LotionsAndOrPotions
 +
|imagename=Snotblob.png
 +
|description=This is some kind of nice item description
 +
|autosell=20
 +
|discarded=Cannot
 +
|autosold=Can
 +
|traded=Can
 +
|stored=Can
 +
|plural=itemnames
 +
}}</nowiki></code> yields:
 +
 
 +
{{Summary/Items/LotionsAndOrPotions
 +
|imagename=Snotblob.png
 +
|description=This is some kind of nice item description
 +
|autosell=20
 +
|discarded=Cannot
 +
|autosold=Can
 +
|traded=Can
 +
|stored=Can
 +
|plural=itemnames
 +
}}
 +
 
 +
==Further Examples==
 +
*[[replacement snot]]
 +
 
 +
[[Category: Templates]]
 +
</noinclude>

Latest revision as of 03:39, 14 August 2008

This template is to be used at the top of a lotions and/or potions item article.

Usage

{{Summary/Items/LotionsAndOrPotions
|imagename=filename
|description=text
|autosell=value
|discarded=Can|Cannot
|autosold=Can|Cannot
|traded=Can|Cannot
|stored=Can|Cannot
|plural=text
}}

Examples

Sorry about the format of this, still an issue to work out. Paramaters are easier to read if listed on separate lines as shown above.

{{Summary/Items/LotionsAndOrPotions |imagename=Snotblob.png |description=This is some kind of nice item description |autosell=20 |discarded=Cannot |autosold=Can |traded=Can |stored=Can |plural=itemnames }} yields:
Snotblob.png

This is some kind of nice item description

Type: lotions and/or potions
Autosell value: 20

Cannot be discarded
Can be autosold
Can be stored
Can be traded

Plural: itemnames

Further Examples