Difference between revisions of "User:FeRDNYC/Sandbox 2"

From GodWiki
Jump to: navigation, search
m (Make |sea-names a synonym for |names=, |pet-levels= for |levels=, |pet-features= for |features=)
m (Clone the mainpage top box to test flex layout fixes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{yesno-no|{{{ignore-no-image|}}}}}|yes||<!-- Template if we don't have a value for the image parameter -->{{#if: {{{image|}}} || {{Picture}}}}
+
__NOTOC__ __NOEDITSECTION__
}}</includeonly>
+
<div style="border: 2px solid #aaa; margin:0.1rem; background-color:#f8f8f8; overflow: auto; padding:1 width: 100%;">
{{Infobox
+
<!------------------ Grey block at the top  ----------------------->
| name = Template:Monster
+
<div style="text-align:center; padding: 2px;">
| above = {{{title|{{PAGENAME}}}}}
+
<p style="font-size:1.4rem; line-height: 1.4; padding:.1em; color:#000;">Welcome to the '''[[GodWiki]]''', the [[divine|divine]] encyclopedia of [[Godville]] that can be edited by anyone.</p>
| subheader = {{#if:{{{latin|{{{latin_name|}}}}}}|''{{{latin|{{{latin_name}}}}}}''}}
+
<p style="font-size:1.05rem; line-height: 1.2; margin:0.3em 0;"> Now the GodWiki has '''[[Special:Statistics|{{NUMBEROFARTICLES}} {{plural:{{NUMBEROFARTICLES}}|article|articles}}]]''', and [[gods|gods]] are continuing their divine work, enriching [[Godville|Godville's]] pages with the threads of their ingenious creations.</p></div><!--
| title = {{ifempty|<!--
+
------------------ Banner message goes here ---------------------------
-->{{#if:{{ifempty|{{yesno|{{{pet|}}}|no=}}|{{{pet-levels|}}}|{{{levels|}}}|{{pet-features|}}}|{{{feature|}}}|{{{features|}}}|}}|[[:Category:Pets|Pets]]}}|<!--
+
--> <!--Godwiki event banner-->
-->{{#if:{{ifempty|{{yesno|{{{boss|}}}|no=}}|{{{boss-type|}}}|}}|[[Boss-Monsters]]}}|<!--
+
<!---------------------- Categories -------------------------------->
-->{{#if:{{ifempty|{{yesno|{{{sea|{{{beastie|}}}}}}|no=}}|{{{sea-names|}}}|{{{names|}}}|}}|[[:Category:Beasties|Beasties]]}}|<!--
+
<div style="margin: 0.1rem 0.4rem; columns: 3 9em; column-gap: 0; overflow: auto;">
-->[[List of Monsters|Monsters]]}} of Godville
+
<ul style="margin: 0 auto; width: 9em;">
| imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;
+
<li>[[:Category:Gameplay|Gameplay]]</li>
| captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;
+
<li>[[:Category:Pantheons|Pantheons]]</li>
| image = {{Infobox image|{{#if:{{{image|}}}|{{{image}}}|Menagerie.png}}}}
+
<li>[[:Category:Galleries|Galleries]]</li>
| caption = {{{caption|}}}
+
<li>[[:Category:Backstage|Backstage]]</li>
| spacer = {{{spacer|}}}
+
<li>[[:Category:Technical|Technical]]</li>
| abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa;
+
<li>[[Gods|Gods]]</li>
| belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa;
+
<li>[[Heroes|Heroes]]</li>
| navstyle = background: #e3f0fd; padding-right:0.5em;
+
<li>[[:Category:Guilds|Guilds]]</li>
| headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa;
+
<li>[[List of Quests|Quests]]</li>
| labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa;
+
<li>[[:Category:Geography|Geography]]</li>
| datastyle = background: #e3f0fd33; vertical-align:top;  min-width: 12em; border-bottom: 2px solid #f8f9fa;
+
<li>[[List of Monsters|Monsters]]</li>
| label1 = Class
+
<li>[[List of Artifacts|Artifacts]]</li>
| data1 = {{#if:{{{class|}}}|{{{class}}}|''Unknown''}}
+
<li>[[List of Skills|Skills]]</li>
| label2 = Habitat
+
<li>[[Aura|Auras]]</li>
| data2 = {{#if:{{{habitat|}}}|{{{habitat}}}|''Unknown''}}
+
<li>[[List of Equipment|Equipment]]</li>
| label3 = Description
+
</ul></div>
| data3 = {{#if:{{{description|}}}|{{{description}}}|''Unknown''}}
+
<div style="clear: both"></div>
| label4 = [[Health]]
+
 
| data4 = {{{health|}}}
+
<div style="width: auto; overflow: auto; vertical-align: top; box-sizing: border-box; margin:0; padding:0.2rem 0; border-top: 1px solid #aaa;">
| label5 = [[Death Rattle]]
+
<ul style="width: auto; box-sizing: border-box; list-style: none; display: flex; flex-flow: row wrap; justify-content: space-evenly; margin: 0 1em;">
| data5 = {{{rattle|}}}
+
<li style="flex: 1 0 auto; padding: 0 8px;">[[Godwiki_Guidebook|Guidebook]]</li>
| label6 = [[Monsters' Artifacts|Artifact]]
+
<li style="flex: 1 0 auto; padding: 0 8px;">[[Creators Manual]]</li>
| data6 = {{#if:{{{artifact|}}}|[[{{{artifact}}}]]}}
+
<li style="flex: 1 0 auto; padding: 0 8px;">[[:Category:Guidelines|Guidelines]]</li>
| label7 = {{#if:{{{wanted|}}}|[[Godville Times|Wanted on]]}}
+
<li style="flex: 1 0 auto; padding: 0 8px;">[[Help:Requests|Help:Requests]]</li>
| data7 = {{#if:{{{wanted|}}}|{{date ge|{{{wanted}}}}}|}}
+
<li style="flex: 1 0 auto; padding: 0 8px;">[[History|History of Godville]]</li>
| label8 = Totem for
+
<li style="flex: 1 0 auto; padding: 0 8px;">[[Omnibus List]]</li>
| data8 = {{#if:{{{totem|}}}|[[{{{totem}}}]]}}
+
</ul>
| rowstyle10 = background: #fecdcd;
+
</div></div>
| rowlabelstyle11 = background: #fecdcd99;
+
<div style="clear: both"></div>
| 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-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-features|}}|{{{feature|}}}|{{{features|}}}|}}|{{{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=One-Name
 
          |2|two=Two-Name
 
          |#default=''Unknown''}}}}
 
}}<includeonly>{{main other
 
    |  [[Category:Monsters]]<!--
 
    -->{{#if:{{ifempty|{{yesno|{{{pet}}}|no=}}|{{{pet-levels|}}}|{{{levels|}}}|{{{pet-features|}}}|{{{features|}}}|{{{feature|}}}|}}|[[Category:Pets]]}}<!--
 
    -->{{#if:{{ifempty|{{yesno|{{{boss}}}|no=}}|{{{boss-type|}}}|}}|[[Category:Boss-Monsters]]}}<!--
 
    -->{{#if:{{ifempty|{{yesno|{{{sea|{{{beastie|}}}}}}|no=}}|{{{sea-names|}}}|{{{names|}}}|}}|[[Category:Beasties]]}}<!--
 
    -->{{#if: {{{totem|}}} | [[Category:Totem Monsters]]}}
 
    |<!-- end main other -->}}</includeonly><noinclude>
 
{{doc}}
 
[[:Category:Templates]]
 
[[:Category:Infoboxes]]
 
</noinclude>
 

Latest revision as of 14:04, 20 April 2019

Welcome to the GodWiki, the divine encyclopedia of Godville that can be edited by anyone.

Now the GodWiki has 2,887 articles, and gods are continuing their divine work, enriching Godville's pages with the threads of their ingenious creations.