Template:Standard Text: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
Line 1: Line 1:
<includeonly>[[Category:Text]]
<includeonly>[[Category:Text]]
{{#ifeq:{{{How Obtained|}}}|||{{{How Obtained|}}}<br>}}{{#ifeq:{{lc:{{{Vendors Link|}}} }}|true|This text can be purchased from various [[:Special:Whatlinkshere/{{PAGENAME}}|shopkeepers]].<br>|}}
{{#ifeq:{{{How Obtained|}}}|||{{{How Obtained|}}}<br>}}{{#ifeq:{{lc:{{{Vendors Link|}}} }}|true|This text can be purchased from various [[:Special:Whatlinkshere/{{PAGENAME}}|shopkeepers]].<br>|}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br>}}
   
   
<div style="background-color:#EEE8AA; border:2px solid #cc9900;width:80%;padding:30px;margin-bottom:20px;margin-left:5%;margin-right:10%;">
<div style="background-color:#EEE8AA; border:2px solid #cc9900;width:80%;padding:30px;margin-bottom:20px;margin-left:5%;margin-right:10%;">
Line 108: Line 108:
<pre>
<pre>
{{Standard Text
{{Standard Text
  |         Name =  
  |               Name =  
  |   Icon Image =  
  |         Icon Image = Icon.png
  |  Description =  
  |       Description =
  |       Author =  
  | Special Properties =  
  | How Obtained =  
  |             Author =  
  | Vendors Link = False
  |       How Obtained =  
  |       Vendors Link = False
  | <Page 1 Text>
  | <Page 1 Text>
  | <Page 2 Text>
  | <Page 2 Text>

Revision as of 14:00, 20 April 2009

Related topics: Wiki Templates, Standard Text Template

Syntax

{{Standard Text
 |               Name = 
 |         Icon Image =  Icon.png
 |        Description = 
 | Special Properties = 
 |             Author = 
 |       How Obtained = 
 |       Vendors Link = False
 | <Page 1 Text>
 | <Page 2 Text>
 | ...
 | <Page N Text>
}}

Usage

This template is one component of the page template Standard Text Template, full details and an example can be found there.