Difference between revisions of "User:Emptysora/sandbox"

From GodWiki
Jump to: navigation, search
m (Hiding rest of template stuff)
(Tags: Mobile edit, Mobile web edit)
m (Testing templates)
Line 1: Line 1:
 +
 +
<includeonly>{{#ifeq:{{yesno-no|{{{ignore-no-image|}}}}}|yes||{{#if: {{{image|}}} || {{Picture}}}}
 +
}}
 +
{{Infobox
 +
| name = Template:Monster
 +
| above = {{{title|{{PAGENAME}}}}}
 +
| subheader = {{#if:{{{latin|{{{latin_name|}}}}}}|''{{{latin|{{{latin_name}}}}}}''}}
 +
| title = {{ifempty|<!--
 +
-->{{#if:{{ifempty|{{yesno|{{{pet|}}}|no=}}|{{{pet-levels|}}}|{{{levels|}}}|{{{pet-feature|{{{pet-features|}}}}}}|{{{feature|{{{features|}}}}}}|}}|[[:Category:Pets|Pets]]|<!--
 +
If the monster is ''not'' a pet, check for strong monster.
 +
-->{{#if:{{yesno|{{{strong|}}}|no=}}|[[Strong Monsters]]}}<!-- -->}}|<!--
 +
-->{{#if:{{ifempty|{{yesno|{{{boss|}}}|no=}}|{{{boss-type|}}}|}}|[[Boss-Monsters]]}}|<!--
 +
-->{{#if:{{ifempty|{{yesno|{{{sea|{{{beastie|}}}}}}|no=}}|{{{sea-names|}}}|{{{names|}}}|}}|[[:Category:Beasties|Beasties]]}}|<!--
 +
-->[[List of Monsters|Monsters]]}} of Godville
 +
| imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;
 +
| captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;
 +
| image = {{Infobox image|{{#if:{{{image|}}}|{{{image}}}|Menagerie.png}}}}
 +
| caption = {{{caption|}}}
 +
| spacer = {{{spacer|}}}
 +
| abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa;
 +
| belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa;
 +
| navstyle = background: #e3f0fd; padding-right:0.5em;
 +
| headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa;
 +
| labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa;
 +
| datastyle = background: #e3f0fd33; vertical-align:top;  min-width: 12em; border-bottom: 2px solid #f8f9fa;
 +
| header1 = {{#if:{{yesno|{{{strong|}}}|no=}}|Strong Monster}}
 +
| label2 = Class
 +
| data2 = {{#if:{{{class|}}}|{{{class}}}|''Unknown''}}
 +
| label3 = Habitat
 +
| data3 = {{#if:{{{habitat|}}}|{{{habitat}}}|''Unknown''}}
 +
| label4 = [[Health]]
 +
| data4 = {{{health|}}}
 +
| label5 = Death Rattle
 +
| data5 = {{{rattle|}}}
 +
| label6 = [[Monsters' Artifacts|Artifact]]
 +
| data6 = {{#if:{{{artifact|}}}|[[{{{artifact}}}]]}}
 +
| label7 = {{#if:{{{wanted|}}}|[[Godville Times|Wanted on]]}}
 +
| data7 = {{#if:{{{wanted|}}}|{{date ge|{{{wanted}}}}}|}}
 +
| label8 = Totem for
 +
| data8 = {{#if:{{{totem|}}}|[[{{{totem}}}]]}}
 +
| label9 = Description
 +
| data9 = {{#if:{{{description|}}}|{{{description}}}|''Unknown''}}
 +
| rowstyle10 = background: #fecdcd;
 +
| rowlabelstyle11 = background: #fecdcd99;
 +
| rowdatastyle11 = background: #fecdcd33;
 +
| header10 = {{#if:{{ifempty|{{yesno|{{{boss|}}}|no=}}|{{{boss-type|}}}|}}|Boss}}
 +
| label11 = Boss Type
 +
| data11 = {{#if:{{ifempty|{{yesno|{{{boss|}}}|no=}}|{{{boss-type|}}}|}}
 +
    |{{#switch:{{lc:{{{boss-type|}}}}}
 +
        |underground|ug|dig|digging=Underground
 +
        |quest|mini-quest|miniquest=Mini-Quest
 +
        |above|aboveground|surface=Above-Ground
 +
        |dungeon=Dungeon
 +
        |1|1ab|1ability|1-ability|1 ability=1-Ability Dungeon
 +
        |2|2ab|2ability|2-ability|2 ability=2-Ability Dungeon
 +
        |3|3ab|tb|3ability|3-ability|3 ability|treasure=3-Ability Dungeon
 +
        |''Unknown''}} }}
 +
| rowstyle20 = background:#c9f3d5;
 +
| rowlabelstyle21 = background:#c9f3d599;
 +
| rowlabelstyle22 = background:#c9f3d599;
 +
| rowdatastyle21 = background:#c9f3d533;
 +
| rowdatastyle22 = background:#c9f3d533;
 +
| header20 = {{#if:{{ifempty|{{yesno|{{{pet|}}}|no=}}|{{{pet-levels|}}}|{{{levels|}}}|{{{pet-feature|{{{pet-features|}}}}}}|{{{feature|{{{features|}}}}}}|}}|Pet}}
 +
| label21 = Tame at levels
 +
| data21 = {{#if:{{ifempty|{{yesno|{{{pet|}}}|no=}}|{{{pet-levels|}}}|{{{levels|}}}|}}|{{{pet-levels|{{{levels|}}}}}}|}}
 +
| label22 = Feature
 +
| data22 = {{#if:{{ifempty|{{yesno|{{{pet|}}}|no=}}|{{{pet-feature|{{{pet-features|}}}}}}|{{{feature|{{{features|}}}}}}|}}|{{{pet-feature|{{{pet-features|{{{feature|{{{features|}}}}}}}}}}}}|}}
 +
| rowstyle30 = background:#cce5ff;
 +
| rowlabelstyle31 = background:#cce5ff99;
 +
| rowdatastyle31 = background:#cce5ff33;
 +
| header30 = {{#if:{{ifempty|{{yesno|{{{sea|{{{beastie|}}}}}}|no=}}|{{{names|}}}|{{{sea-names|}}}|}}|Beastie}}
 +
| label31 = Type
 +
| data31 = {{#if:{{ifempty|{{yesno|{{{sea|{{{beastie|}}}}}}|no=}}|{{{names|}}}|{{{sea-names|}}}|}}|{{#switch:{{lc:{{{sea-names|{{{names|}}}}}}}}
 +
          |1|one=Single-Named <br> Strength Level 1: 10-19 HP
 +
          |2|two= Single-Named <br>Strength Level 2: 20-29 HP
 +
          |3|three= Single-Named <br>Strength Level 3: 30-39 HP
 +
          |4|four= Single-Named <br>Strength Level 4: 40-49 HP
 +
          |5|five=Double-Named <br>Strength Level 5: 50+ HP
 +
          |#default=''Unknown''}}}}
 +
}}{{main other
 +
    |  [[Category:Monsters]]<!--
 +
    -->{{#if:{{ifempty|{{yesno|{{{pet|}}}|no=}}|{{{pet-levels|}}}|{{{levels|}}}|{{{pet-feature|{{{pet-features|}}}}}}|{{{feature|{{{features|}}}}}}|}}|[[Category:Pets]]}}<!--
 +
    -->{{#if:{{ifempty|{{yesno|{{{boss|}}}|no=}}|{{{boss-type|}}}|}}|[[Category:Boss-Monsters]]}}<!--
 +
    -->{{#if:{{ifempty|{{yesno|{{{sea|{{{beastie|}}}}}}|no=}}|{{{sea-names|}}}|{{{names|}}}|}}|[[Category:Beasties]]}}<!--
 +
    -->{{#if:{{yesno|{{{strong|}}}|no=}}|[[Category:Strong Monsters]]}}<!--
 +
    -->{{#if: {{{totem|}}} |[[Category:Totem Monsters]]}}
 +
    |<!-- end main other -->}}</includeonly>
 +
 +
 +
  
  

Revision as of 06:07, 16 November 2019