Difference between revisions of "Template:Test"

From Wurmpedia
Jump to navigation Jump to search
m (test)
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
This is the template sandbox, write your template in [[Template:Test]] and test it and see how it looks in [[Template Sandbox]]. This is a useless and very basic test template and the name of this page is {{PAGENAME}}.
 +
[[Category:Template]]
 +
</noinclude>
 +
 +
<!-- DO NOT DELETE ABOVE THIS LINE -->
 +
<!-- DO NOT DELETE ABOVE THIS LINE -->
 +
<!-- DO NOT DELETE ABOVE THIS LINE -->
 +
 
<includeonly>
 
<includeonly>
 +
 
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
{| style="float:right; margin:1em; width:250px;" cellpadding="3" cellspacing="0" border="1"
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
| [[Image:{{{name|{{PAGENAME}}}}}_item.jpg]]
+
|
|-
+
{{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}}
! style="background-color:#3c5;" | Creation
+
    | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
 +
    | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}}
 +
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
 +
        | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{{name|{{PAGENAME}}}}}]]
 +
    }}
 +
}}
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Creation
# Activate a {{{active}}} {{#if:{{{active-weight|}}}|({{{active-weight}}})|}}
 
# Right-click a {{{passive}}} {{#if:{{{passive-weight|}}}|({{{passive-weight}}})|}}
 
 
|-
 
|-
! style="background-color:#3c5;" | Additional materials
+
| <ol><li>[[Activate]] {{{active}}}</li><li>Right-click {{{passive}}}</li><li>Open [[Context menu|menu]] > [[Bridges]] </li></ol>
 
|-
 
|-
|
+
! style="background-color:#CCA133;" | Additional materials
 +
{{!}}-
 +
{{!}}
 
{{{materials}}}
 
{{{materials}}}
 
|-
 
|-
! style="background-color:#3c5;" | Result
+
! style="background-color:#CCA133;" | Result
|-
+
|-  
|
+
| {{{result}}}
{{{result}}}
 
|-
 
! style="background-color:#3c5;" | Skill used
 
 
|-
 
|-
| {{{skill}}}
+
! style="background-color:#CCA133;" | Skill and improvement
 +
{{!}}-
 +
{{!}}
 +
* Uses [[{{{skill}}}]]
 +
* [[Improve]]s like [[{{{improve}}}]] items
 
|-
 
|-
! style="background-color:#3c5;" | Improvement
+
! style="background-color:#CCA133;" | Notes
 
|-
 
|-
| As {{#if:{{{improve|}}}|{{{improve}}}|{{{skill}}}}} items
+
| {{{notes}}}
 
|}
 
|}
</includeonly><noinclude>
 
  
{{Test
+
</includeonly>
|name=Name param (defaults to pagename)
 
|active=Active param
 
|active-weight=Active-weight param (opt)
 
|passive=Passive param
 
|passive-weight=Passive-weight param (opt)
 
|result=
 
* Result A
 
* Result B
 
|skill=Skill param
 
|improve=Improve param (defaults to skill)
 
|materials=
 
* Item A
 
* Item B
 
* Item C
 
}}
 
 
 
</noinclude>
 

Latest revision as of 14:11, 14 October 2014

This is the template sandbox, write your template in Template:Test and test it and see how it looks in Template Sandbox. This is a useless and very basic test template and the name of this page is Test.