Difference between revisions of "User:Sunmarsh/Sandbox"

From Nookipedia, the Animal Crossing wiki
(AlexBot's mock-up with borders)
(Link template refactor proposal)
 
(67 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="nomobile">
+
{{#switch:{{{1|}}}
{| width="100%" style="background: #{{ColorSecondary}}; border: 3px solid #{{ColorPrimary}}; text-align:center; {{roundy|30px}};"
+
| nl = {{#switch: {{{2|}}}
| style="padding:5px 18px 0 18px;" |
+
      | short = NH
 +
      | long = ''Animal Crossing: New Horizons''
 +
      | #default= ''New Horizons''
 +
      }}
 +
| s  = {{#switch: {{{2|}}}
 +
      | nl = NH
 +
      | #default= [[New Horizons|NH]]
 +
      }}
 +
| l  = {{#switch:{{{2|}}}
 +
      | nl = ''Animal Crossing: New Horizons''
 +
      | #default= ''[[Animal Crossing: New Horizons]]''
 +
      }}
 +
| #default = ''[[New Horizons]]''
 +
}}<noinclude>
 +
==Documentation==
 +
Produces a link to the {{NH}} article.
  
<div style="float:right;">
+
*<code>s</code> - (for 'short') can be used to produce an acronym: [[New Horizons|NH]]
{| style="padding:10px 10px 0 10px;"
+
*<code>l</code> - (for 'long') can be used to produce the title's full name: [[Animal Crossing: New Horizons]]
| [[File:Facebook Icon.png|25px|link=http://www.facebook.com/nookipedia]]
+
*<code>nl</code> - (for 'no link') can be used to remove the link: New Horizons
| [[File:Twitter Icon.png|25px|link=http://twitter.com/nookipedia]]
 
| [[File:Discord icon.png|25px|link=Nookipedia:Discord]]
 
|}
 
</div>
 
{| style="width:100%;"
 
|
 
{| style="display:inline-block;" cellspacing="8"
 
| colspan=9 |
 
{| style="line-height:1.2em;"
 
| style="padding:0 0 0 8px;"|[[File:Nookipedia_Logo_Outlined.png|275px|link=Nookipedia]]
 
| style="padding:0 0 0 8px; text-align:left;"|{{Colorshow|{{ColorPrimary}}|Home to [[Special:Statistics|<font color="#{{ColorPrimary}}">{{NUMBEROFARTICLES}} articles</font>]]... and growing!}}<br><span style="font-size:1.05em">Your community-driven ''Animal Crossing'' wiki encyclopedia!</span>
 
|}
 
|-
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Game Button.png|70px|link=Category:Video Games]]</div><small>'''[[:Category:Video Games|{{Colorshow|323232|Games}}]]'''</small>
 
  
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Guide Button.png|70px|link=Category:Guides]]</div><small>'''[[:Category:Guides|{{Colorshow|323232|Guides}}]]'''</small>
+
</noinclude>
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Location Button.png|70px|link=Category:Locations]]</div><small>'''[[:Category:Locations|{{Colorshow|323232|Locations}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Event Button.png|70px|link=Category:Events]]</div><small>'''[[:Category:Events|{{Colorshow|323232|Events}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Special Character Button.png|70px|link=Category:Special characters]]</div><small>'''[[:Category:Special characters|{{Colorshow|323232|Characters}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Villager Button.png|70px|link=List of villagers]]</div><small>'''[[List of villagers|{{Colorshow|323232|Villagers}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Furniture Button.png|70px|link=Category:Furniture]]</div><small>'''[[:Category:Furniture|{{Colorshow|323232|Furniture}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Clothing Button.png|70px|link=Category:Clothing]]</div><small>'''[[:Category:Clothing|{{Colorshow|323232|Clothing}}]]'''</small>
 
 
 
|-
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Bug Button.png|70px|link=Category:Bugs]]</div><small>'''[[:Category:Bugs|{{Colorshow|323232|Insects}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Fish Button.png|70px|link=Category:Fish]]</div><small>'''[[:Category:Fish|{{Colorshow|323232|Fish}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Deep Sea Button.png|70px|link=Category:Deep sea creatures]]</div><small>'''[[:Category:Deep sea creatures|{{Colorshow|323232|Deep Sea}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Tool Button.png|70px|link=Category:Tools]]</div><small>'''[[:Category:Tools|{{Colorshow|323232|Tools}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Fossil Button.png|70px|link=Category:Fossils]]</div><small>'''[[:Category:Fossils|{{Colorshow|323232|Fossils}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Artwork Button.png|70px|link=Category:Artwork]]</div><small>'''[[:Category:Artwork|{{Colorshow|323232|Artwork}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Music Button.png|70px|link=Category:Music]]</div><small>'''[[:Category:Music|{{Colorshow|323232|Music}}]]'''</small>
 
 
 
| style="padding:6px;" | <div style="height: 70px; width: 70px; margin: 1px 3px; overflow: hidden; border-radius: 100px; border:3px solid #{{ColorPrimary}};>[[File:Merchandise Button.png|70px|link=Merchandise]]</div><small>'''[[Merchandise|{{Colorshow|323232|Merch.}}]]'''</small>
 
|-
 
|}
 

Latest revision as of 23:39, August 19, 2021

New Horizons

Documentation

Produces a link to the Animal Crossing: New Horizons article.

  • s - (for 'short') can be used to produce an acronym: NH
  • l - (for 'long') can be used to produce the title's full name: Animal Crossing: New Horizons
  • nl - (for 'no link') can be used to remove the link: New Horizons