Difference between revisions of "User:Emptysora/sandbox"

From GodWiki
Jump to: navigation, search
m (testing a template)
m (Template test)
(Tags: Mobile edit, Mobile web edit, Replaced)
Line 1: Line 1:
 
+
<includeonly>{#ifeq:{{lc:{{PAGETITLE}}}}|{{lc:{{{1|}}}}}|'''{{{1|}}}'''|[[{{{1|}}}{{#if:{{{2|}}}|{{{!}}}{{{2|}}}]]}}</includeonly>
<includeonly>{{#ifeq:{{yesno-no|{{{ignore-no-image|}}}}}|yes||{{#if: {{{image|}}} || {{Picture}}}}
 
}}
 
{{#if:{{{has-artifact|}}}||<div style="float:left;clear:both;">{{About|{{{title|{{PAGENAME}}}}_(Artifact)}}</div>}}
 
{{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>
 
 
 
 
 
<noinclude><!--
 
{{stub}}
 
{{User:Emptysora/sandbox}}
 
--></noinclude>
 
 
 
 
 
<!--<includeonly><div style="font-style:italic;padding-left:1.6em;margin-bottom:0.5em;" role="note">This {{#ifeq:{{{section|}}}|yes|section|{{lcfirst:{{NAMESPACE}}}}}} {{#ifeq:{{#ifeq:{{{section|}}}|yes|section|{{lcfirst:{{NAMESPACE}}}}}}|section||{{#if:{{#ifeq:{{{section|}}}|yes|section}}|| page}}}} is about {{{1|}}}. For {{#if:{{{2|}}}|{{{2|}}}|other uses}}, see {{#if:{{{3|}}}|[[{{{3|}}}]]|[[{{NAMESPACE}}:{{PAGENAME}}_(Disambiguation)]]}}{{#if:{{{4|}}}|{{#if:{{{5|}}}||.&nbsp;}}}}{{#if:{{{4|}}}|{{#if:{{{5|}}}|&nbsp;{{{4|}}} [[{{{5|}}}]]|For {{{4|}}} see [[{{NAMESPACE}}:{{PAGENAME}}_(Disambiguation)]]}}}}.</div></includeonly>-->
 
<noinclude><!--
 
{{User:Emptysora/sandbox|Use1}}
 
{{User:Emptysora/sandbox|Use1||Article2}}
 
{{User:Emptysora/sandbox|Use1||Article2|and|Article3}}
 
{{User:Emptysora/sandbox|Use1|Use2|Article2}}
 
{{User:Emptysora/sandbox|Use1|Use2|Article2|and|article3}}
 
{{User:Emptysora/sandbox|Use1|Use2|Article2|other uses}}
 
{{User:Emptysora/sandbox|Use1|Use2|Article2|Use3}}
 
{{User:Emptysora/sandbox|Use1|Use2|Article2|Use3|Article3|and|article4}}
 
{{User:Emptysora/sandbox|Use1|Use2|Article2|Use3|Article3|other uses}}—>
 
</noinclude>
 
 
 
<!--
 
 
 
This {{#ifeq:{{{section|}}}|yes|section|{{lcfirst:{{NAMESPACE}}}}}} {{#ifeq:{{#ifeq:{{{section|}}}|yes|section|{{lcfirst:{{NAMESPACE}}}}}}|section||{{#if:{{#ifeq:{{{section|}}}|yes|section}}|| page}}}} is about {{{1|}}}. For {{#if:{{{2|}}}|{{{2|}}}|other uses}}, see {{#if:{{{3|}}}|[[{{{3|}}}]]|[[{{NAMESPACE}}:{{PAGENAME}}_(Disambiguation)]]}}{{#if:{{{4|}}}|{{#if:{{{5|}}}||.}}}} {{#if:{{{4|}}}|{{#if:{{{5|}}}|{{{4|}}} [[{{{5|}}}]]|For {{{4|}}} [[{{NAMESPACE}}:{{PAGENAME}}_(Disambiguation)]]}}}}.
 
 
 
{{#if:{{{4|}}}|{{#if:{{{5|}}}||.}}}}
 
 
 
 
 
{{#if:
 
  {{{3|}}}
 
  |[[{{{3|}}}]]
 
  |[[{{NAMESPACE}}:{{PAGENAME}}_(Disambiguation)]]
 
}}
 
{{#if:
 
  {{{4|}}}
 
  |{{#if:
 
    {{{5|}}}
 
    |{{{4|}}} [[{{{5|}}}]]
 
    |{{{4|}}} [[{{NAMESPACE}}:{{PAGENAME}}_(Disambiguation)]]
 
  }}
 
}}
 
 
 
This template is about
 
Use1 -- Use1. For other uses, see [page disamb].
 
Use1||Article2 -- Use1. For other uses, see [article2].
 
Use1||Article2|and|Article3 -- Use1. For other uses, see [Article2] and [Article3].
 
Use1|Use2|Article2 -- Use1. For Use2, see Article2.
 
Use1|Use2|Article2|and|article3 -- Use1. For Use2, see Article2 and Article3.
 
Use1|Use2|Article2|other uses -- Use1. For Use2, see Article2. For other uses, see [disamb]
 
 
 
section changes template to "section"
 
 
 
1 - page description
 
2 - other page 1 description "For other uses"
 
3 - other page 1 title "[page title] (disambiguation)"
 
4 - Other page 2 description
 
5 - other page 2 title "[page title] (disambiguation)"
 
6 - Other page 3 description
 
7 - other page 3 title "[page title] (disambiguation)"
 
8 - Other page 4 description
 
9 - other page 4 title "[page title] (disambiguation)"
 
section - "yes" to get wording appropriate for use at the top of a section???
 
text - custom text to be appended to the end
 
 
 
{{NAMESPACE}}
 
{{lcfirst:{{NAMESPACE}}}}
 
{{PAGENAME}}
 
-->
 

Revision as of 01:32, 17 November 2019