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:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br>}}
{{#ifeq:{{{How Obtained|}}}|||{{{How Obtained|}}}<br>}}{{#ifeq:{{lc:{{{Vendors Link|}}} }}|true|This text can be purchased from various [[:Special:Whatlinkshere/{{PAGENAME}}|shopkeepers]].<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%;">


[[Image:{{{Icon Image|Icon.png}}}]] <big>{{{Name|}}}</big><br>
[[Image:{{{Icon Image|Icon.png}}}]] <big>{{{Name|}}}</big><br>{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties|}}}<br>}}
{{#ifeq:{{{Description|}}}|||
{{#ifeq:{{{Description|}}}|||



Revision as of 13:01, 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.