Template:InfoboxQuest: Difference between revisions

From Grimhaven Wiki
Jump to: navigation, search
(Created page with "<includeonly> {{Infobox | above = {{{name|{{PAGENAME}}}}} | image = {{{image|}}} | caption = {{{caption|}}} | labelstyle = background:#ccf; | label1 = AKA | data1 = {{{aka|}}} | label2 = Location | data2 = {{{location|}}} | label3 = Level Required | data3 = {{{lvl|}}} | label4 = Recommended Level | data4 = {{{lvlrec|}}} | label5 = Premium | data5 = {{{premiu...")
 
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><table class="infobox" style="width: 28em; font-size: 90%; text-align: left; border-spacing: 2px; background-color: #1a1a1a; color: #d3d3d3; margin: 0 0 1em 1em; float: right; border: 1px solid #666; box-shadow: 3px 3px 2px #666;">
{{Infobox
<tr><th colspan="2" style="text-align: center; background-color: #333;">{{{title|{{PAGENAME}}}}}</th></tr>
| above          = {{{name|{{PAGENAME}}}}}
<tr><td colspan="2" style="text-align: center;">[[File:{{{image|placeholder.png}}}|210px]]</td></tr>
| image          = {{{image|}}}
<tr><td colspan="2" style="text-align: center;">{{{caption|No caption provided}}}</td></tr>
| caption        = {{{caption|}}}
<tr><th style="background-color: #242424;">Location</th><td>{{{location|Not specified}}}</td></tr>
| labelstyle    = background:#ccf;  
<tr><th style="background-color: #242424;">Level</th><td>{{{level|Not specified}}}</td></tr>
| label1        = AKA
<tr><th style="background-color: #242424;">Dangers</th><td>{{{dangers|Not specified}}}</td></tr>
| data1          = {{{aka|}}}
<tr><th style="background-color: #242424;">Reward</th><td>{{{reward|Not specified}}}</td></tr>
| label2        = Location
</table></includeonly>
| data2          = {{{location|}}}
| label3        = Level Required
| data3          = {{{lvl|}}}
| label4        = Recommended Level
| data4          = {{{lvlrec|}}}
| label5        = Premium
| data5          = {{{premium|}}}
| label6        = Dangers
| data6          = {{{dangers|}}}
| label7        = Reward
| data7          = {{{reward|}}}
| label8        = Legend
| data8          = {{{legend|}}}
| below          = {{{below|}}}
}}
</includeonly><noinclude>
This template is used to create an infobox for quest pages. To use it, add the following syntax to the top of any quest article:
<pre>
{{InfoboxQuest
| name          =
| image        =
| caption      =
| aka          =
| location      =
| lvl          =
| lvlrec        =
| premium      =
| dangers      =
| reward        =
| legend        =
}}
</pre>
</noinclude>

Latest revision as of 08:31, 24 April 2024