Difference between revisions of "Test"

From UnReal World Wiki
Jump to: navigation, search
(Replaced content with "This page is for testing e.g. Templates without accidentally the whole thing.")
 
Line 1: Line 1:
{| class="infobox" align="right"
+
This page is for testing e.g. Templates without accidentally the whole thing.
! class="namebox bgimage9" colspan="3" | <span class="textshadow">{{{name|{{PAGENAME}}}}}</span>
+
|- style="text-align:center;"
+
| class="imagebox"  colspan="3" style="padding:0.5em" | [[{{{image|Image:{{PAGENAME}}.png}}}]]<br/>''{{{caption| }}}''
+
|-
+
! class="sectionbox" colspan="3" | Basic Info
+
|-
+
| '''Cultures:'''
+
| style="width: 60%;"| {{{cultures}}}
+
|-
+
| '''Weight:'''
+
| {{{weight}}}
+
|-
+
| '''Trade Value:'''
+
| {{{value}}}
+
|-
+
| '''Flammable:'''
+
| {{{flammable}}}
+
|-
+
{{#ifeq: {{{flammable}}} | Yes |
+
    {{!}} '''Burn Duration:'''
+
    {{!}} {{{burnTime}}} |
+
}}
+
{{#ifeq: {{{clothing}}} | Yes |
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Clothing Type:''' 
+
  {{!}} {{{bodyPart}}}
+
  {{$}}
+
  {{!}} '''Body Part:''' 
+
  {{!}} {{{bodyPart}}}
+
  {{$}}
+
}}
+
|-
+
{{#if: {{#ask: [[requires::{{PAGENAME}}]]}}
+
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
+
    | {{!}} colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}, and {{#ask: [[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
      {{!}}-
+
    | {{!}} '''Required By:'''
+
      {{!}}  colspan=2 {{!}} {{#ask: [[requires::{{PAGENAME}}]]}}
+
      {{!}}-
+
  }}
+
| {{#if: {{#show: {{PAGENAME}} | ?specific | link=none}}
+
    | {{!}} '''Required By:'''
+
      {{!}}  colspan=2 {{!}} {{#ask:[[requires::{{#show: {{PAGENAME}} | ?specific | link=none}}]]}}
+
      {{!}}-
+
  }}
+
}}
+
|-
+
{{#ifeq: {{{weapon}}} | Yes |
+
  ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Skill Required:''' 
+
  {{!}} {{{combatSkill}}}
+
  {{$}}
+
  {{!}} '''Blunt Damage:'''
+
  {{!}} {{{blunt}}}
+
  {{$}}
+
  {{!}} '''Edge Damage:'''
+
  {{!}} {{{edge}}}
+
  {{$}} 
+
  {{!}} '''Point Damage:'''
+
  {{!}} {{{point}}}
+
  {{$}}
+
  {{!}} '''Attack Bonus:'''
+
  {{!}} {{{attackBonus}}}
+
  {{$}}
+
  {{!}} '''Defense Bonus:'''
+
  {{!}} {{{defenseBonus}}}
+
  {{$}}
+
  |
+
}}
+
{{#ifeq: {{{clothing}}} | Yes |
+
<!-- Add material protection values here, so when they change, all the individual pages don't need to be edited -->
+
{{#switch: {{{Material}}}
+
| Fur =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 5
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 3
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 3
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 5
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 3.3
+
  {{$}}
+
| Wool =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 4
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 2
+
  {{$}}
+
| Leather =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 2
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 3
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 3
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 3
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 2.2
+
  {{$}}
+
| Nettle|Linen =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 3
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 0
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 0
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 1.3
+
  {{$}}
+
| Iron =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 2
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 9
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 10
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 6
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 8
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 7
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 7
+
  {{$}}
+
| Lamellar =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 2
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 8
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 9
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 4
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 5
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 5
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 5.5
+
  {{$}}
+
| Mail =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 2
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 7
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 8
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 5
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 4.3
+
  {{$}}
+
| Birch =    ! class="sectionbox" colspan="3" {{!}} Combat Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Warmth:'''
+
  {{!}} 1
+
  {{$}} 
+
  {{!}} '''Tear Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Edge Protection:'''
+
  {{!}} 2
+
  {{$}}
+
  {{!}} '''Squeeze Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Point Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Blunt Protection:'''
+
  {{!}} 1
+
  {{$}}
+
  {{!}} '''Average:'''
+
  {{!}} 1.3
+
  {{$}}
+
|
+
}}
+
}}
+
{{#ifeq: {{{craftable}}} | Yes |
+
  ! class="sectionbox" colspan="3" {{!}} Crafting Information
+
  {{$}} style="vertical-align:top;"
+
  {{!}} '''Skills Required:'''
+
  {{!}} {{{craftSkills}}}
+
  {{$}}
+
  {{!}} '''Tools Required:'''
+
  {{!}} {{{tools}}}
+
  {{$}}
+
  {{!}} '''Prefers:'''
+
  {{!}} {{{prefers}}}
+
  {{$}}
+
  {{!}} '''Ingredients:'''
+
  {{!}} {{{ingredients}}}
+
  {{$}}
+
  {{!}} '''Craft Time:'''
+
  {{!}} {{{craftTime}}}
+
  {{$}}
+
  {{!}} '''Finish Time:'''
+
  {{!}} {{{finishTime}}}
+
  {{$}}
+
|
+
}}
+
|}
+
[[Category:Object]]
+
{{#ifeq: {{{weapon}}} | Yes |
+
  [[Category:Weapon]]
+
  {{#switch: {{{combatSkill}}}
+
      | [[requires::Axe_(Skill){{!}}Axe]]
+
      | [[requires::Axe (Skill){{!}}Axe]] = [[Category:Axe]]
+
      | [[requires::Sword_(Skill){{!}}Sword]]
+
      | [[requires::Sword (Skill){{!}}Sword]] = [[Category:Sword]]
+
      | [[requires::Dagger_(Skill){{!}}Dagger]]
+
      | [[requires::Dagger (Skill){{!}}Dagger]] = [[Category:Dagger]]
+
      | [[requires::Bow_(Skill){{!}}Bow]]
+
      | [[requires::Bow (Skill){{!}}Bow]] = [[Category:Bow]]
+
      | [[requires::Spear_(Skill){{!}}Spear]]
+
      | [[requires::Spear (Skill){{!}}Spear]] = [[Category:Spear]]
+
      | [[requires::Flail_(Skill){{!}}Flail]]
+
      | [[requires::Flail (Skill){{!}}Flail]] = [[Category:Flail]]
+
      | [[requires::Club_(Skill){{!}}Club]]
+
      | [[requires::Club (Skill){{!}}Club]] = [[Category:Club]]
+
  }}
+
}}
+
{{#ifeq: {{{clothing}}} | Yes | [[Category:Clothing]] | }}
+

Latest revision as of 22:44, 16 February 2017

This page is for testing e.g. Templates without accidentally the whole thing.