Difference between revisions of "Template:Test"

From Wurmpedia
Jump to navigation Jump to search
m
(Let's have a go at the parserfunctions then)
Line 1: Line 1:
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 22em"
+
<includeonly>
|+ style="font-weight: bold" |{{{name}}}
+
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 +
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
 +
| [[Image:{{{name|{{PAGENAME}}}}}_item.jpg]]
 
|-
 
|-
| colspan="2" |  
+
! style="background-color:#3c5;" | Creation
{|
 
 
|-
 
|-
| style="width: 50%" |
+
|
|[[Image {{{name}}}.jpg]]
+
# Activate a {{{active}}} {{#if:{{{active-weight|}}}|({{{active-weight}}})|}}
| style="width: 50%" |
+
# Right-click a {{{passive}}} {{#if:{{{passive-weight|}}}|({{{passive-weight}}})|}}
|}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #3c5; padding: 0.1em 0.25em" | Method
 
 
|-
 
|-
| colspan="2" style="padding: 0.25em" |  
+
! style="background-color:#3c5;" | Additional materials
{{{method}}}
 
 
|-
 
|-
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #3c5; padding: 0.1em 0.25em" | Resources Required
+
| {{{materials}}}
 
|-
 
|-
! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Tools
+
! style="background-color:#3c5;" | Result
! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%" | Resources
 
 
|-
 
|-
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |
+
| {{{result}}}
{{{tools}}}
 
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
 
{{{resources}}}
 
 
|-
 
|-
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #3c5; padding: 0.1em 0.25em" | Result
+
! style="background-color:#3c5;" | Skill used
 
|-
 
|-
| colspan="2" style="padding: 0.25em; text-align: center" |
+
| {{{skill}}}
{{{result}}}
 
 
|-
 
|-
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #3c5; padding: 0.1em 0.25em" | Skills Used
+
! style="background-color:#3c5;" | Improvement
 
|-
 
|-
| colspan="2" style="padding: 0.25em; text-align: center" |
+
| As {{#if:{{{improve|}}}|{{{improve}}}|{{{skill}}}}} items
{{{skills}}}
 
 
|}
 
|}
 +
</includeonly><noinclude>
 +
 +
{{Test
 +
|name=Name param (defaults to pagename)
 +
|active=Active param
 +
|active-weight=Active-weight param (opt)
 +
|passive=Passive param
 +
|passive-weight=Passive-weight param (opt)
 +
|skill=Skill param
 +
|improve=Improve param (defaults to skill)
 +
|materials=
 +
* Item A
 +
* Item B
 +
* Item C
 +
}}
 +
 +
</noinclude>

Revision as of 22:37, 27 August 2007


Name param (defaults to pagename)
File:Name param (defaults to pagename) item.jpg
Creation
  1. Activate a Active param (Active-weight param (opt))
  2. Right-click a Passive param (Passive-weight param (opt))
Additional materials
* Item A
  • Item B
  • Item C
Result
{{{result}}}
Skill used
Skill param
Improvement
As Improve param (defaults to skill) items