Difference between revisions of "User:Ericb/Sandbox"

From MHWiki
m (snoop to see if extensions ever get enabled)
(experiment with table transclusion)
Line 3: Line 3:
 
Next project(s):
 
Next project(s):
 
* Finish linking to Larry's Loot Lexicon via [[Template:MHinfo]] - still to go: [[Crafting Items]], [[Special]], and [[Collectibles]].
 
* Finish linking to Larry's Loot Lexicon via [[Template:MHinfo]] - still to go: [[Crafting Items]], [[Special]], and [[Collectibles]].
 +
 +
Table experiment:
 +
[[#A|A]] [[#B|B]]
 +
{| width="1000" class="sortable" cellpadding="10" cellspacing="0" border="0" style="margin:20px; border:3px solid #ddd; text-align:center; border-collapse:collapse;"
 +
|-
 +
! style="background:#707070;" class="unsortable" |
 +
! style="border-bottom:2hIpx solid #ddd; background:#E4E4E4; text-align:left;" | Mouse
 +
! style="border-bottom:2px solid #ddd; background:#E4EEBA;" | Location(s)<br />
 +
! style="border-bottom:2hIpx solid #ddd; background:#E4E4E4;" | Points
 +
! style="border-bottom:2hIpx solid #ddd; background:#E4E4E4;" | Gold
 +
! style="border-bottom:2px solid #ddd; background:#F2F2DB;" width="150" nowrap | Preferred [[Cheese]]<br />
 +
! style="border-bottom:2px solid #ddd; background:#D3E4F5;" width="100" | [[Mouse Group]]<br />
 +
! style="border-bottom:2px solid #ddd; background:#D3E4F5;" width="100" | '''Mouse'''<br/>'''Sub-Group'''<br />
 +
|- valign="top"
 +
! style="background:#707070; color:#fff;" | <div id="A">A</div>
 +
| style="border-bottom:2px solid #ddd; text-align:left;" | '''[[Abominable Snow Mouse]]'''
 +
| style="border-bottom:2px solid #ddd; background:#EFC;" | [[Mountain]]
 +
| style="border-bottom:2px solid #ddd;" | 1,750
 +
| style="border-bottom:2px solid #ddd;" | 1,750
 +
| style="border-bottom:2px solid #ddd; background:#FFE;" |
 +
| style="border-bottom:2px solid #ddd; background:#DEF;" | [[Indigenous Mice]]
 +
| style="border-bottom:2px solid #ddd; background:#DEF;" |
 +
|- valign="top"
 +
! style="background:#707070;" |
 +
| style="border-bottom:2px solid #ddd; text-align:left;" | '''[[Acolyte Mouse]]'''
 +
| style="border-bottom:2px solid #ddd; background:#EFC;" | [[Acolyte Realm]]
 +
| style="border-bottom:2px solid #ddd;" | 31,850
 +
| style="border-bottom:2px solid #ddd;" | 36,309
 +
| style="border-bottom:2px solid #ddd; background:#FFE;" | [[Runic]]
 +
| style="border-bottom:2px solid #ddd; background:#DEF;" | [[The Forgotten Mice]]
 +
| style="border-bottom:2px solid #ddd; background:#DEF;" |
 +
|- valign="top"
 +
! style="background:#707070; color:#fff;" | <div id="B">B</div>
 +
| style="border-bottom:2px solid #ddd; text-align:left;" | '''[[Balack the Banished]]'''
 +
| style="border-bottom:2px solid #ddd; background:#EFC;" | [[Balack's Cove]]
 +
| style="border-bottom:2px solid #ddd;" | 80,000
 +
| style="border-bottom:2px solid #ddd;" | 41,000
 +
| style="border-bottom:2px solid #ddd; background:#FFE;" | [[Vengeful Vanilla Stilton]]
 +
| style="border-bottom:2px solid #ddd; background:#DEF;" | [[Balack's Banished]]
 +
| style="border-bottom:2px solid #ddd; background:#DEF;" |
 +
|}

Revision as of 20:04, 30 September 2015

It looks like this wiki lacks Extension:ParserFunctions, which means no {{#if:test|if text|if empty}}. But I managed to work around that with my Template:If, using double template nesting. Once ParserFunctions are turned on, this should display 'hello world': {{#if:|text|hello}} {{#if:text|world|there}}.

Next project(s):

Table experiment: A B

Mouse Location(s)
Points Gold Preferred Cheese
Mouse Group
Mouse
Sub-Group
A
Abominable Snow Mouse Mountain 1,750 1,750 Indigenous Mice
Acolyte Mouse Acolyte Realm 31,850 36,309 Runic The Forgotten Mice
B
Balack the Banished Balack's Cove 80,000 41,000 Vengeful Vanilla Stilton Balack's Banished