Difference between revisions of "User:Sunmarsh/Sandbox"

From Nookipedia, the Animal Crossing wiki
(New e-card template is almost done, just need to modify table so it only displays info relevant to each type of e-card.)
(Link template refactor proposal)
 
(89 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width=500px style="background: #d5e154; border:2px solid #d5e154; text-align:center; {{roundy|28px}};"
+
{{#switch:{{{1|}}}
| style="padding:0px;" |
+
| nl = {{#switch: {{{2|}}}
{| width=100% style="background: #d5e154; {{roundytl|25px}};" class="collapsible collapsed"
+
      | short = NH
! {{Colorshow|333|Card back}}
+
      | long = ''Animal Crossing: New Horizons''
|-
+
      | #default= ''New Horizons''
| style="padding:2px" | [[File:{{{back|nia.png{{!}}167px}}}]] {{#if: {{{back|}}} || [[Special:Upload|{{Colorshow|333|<small>Have one to add?</small>}}]]}}
+
      }}
|}
+
| = {{#switch: {{{2|}}}
| rowspan=2 width=75% style="vertical-align: top; background: #eaf76d; padding:0px; {{roundy|25px}};"|
+
      | nl = NH
{| width=100% style="background: transparent; padding: 3px; {{roundytop|25px}};"
+
      | #default= [[New Horizons|NH]]
| colspan=2 style="background: #eaf76d; border-bottom: 1px solid #d5e154; {{roundytop|25px}};" | '''#{{{number|}}} {{{name|}}}'''
+
      }}
|-
+
| = {{#switch:{{{2|}}}
| style="padding:4px 0 0 2px;"|
+
      | nl = ''Animal Crossing: New Horizons''
{| width=100% style="background: transparent;"
+
      | #default= ''[[Animal Crossing: New Horizons]]''
| style="width:70px; background: #eaf76d; padding: 3px; text-align:right;"|'''Gender:'''
+
      }}
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}}" align="left"|{{{gender|}}}
+
| #default = ''[[New Horizons]]''
|-
+
}}<noinclude>
| style="background: #eaf76d; padding: 3px; text-align:right;"|'''Species:'''
+
==Documentation==
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" |{{{species|}}}
+
Produces a link to the {{NH}} article.
|-
 
| style="background: #eaf76d; padding: 3px; text-align:right;"|'''Clothes:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" |{{{clothes|}}}
 
|-
 
| style="background: #eaf76d; padding: 3px; text-align:right;"|'''Sign:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" |{{{sign|}}}
 
|-
 
| style="background: #eaf76d; padding: 3px; text-align:right;"|'''Pet phrase:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" |{{{phrase|}}}
 
|-
 
| style="background: #eaf76d; padding: 3px; text-align:right;"| '''Password:'''
 
| style="background: #ffffff; padding: 0 0 0 9px; {{roundy}};" align="left" |<tt>{{{password1|}}}</tt>
 
|-
 
| style="background: #eaf76d; padding: 3px; text-align:right;" |
 
| style="background: #ffffff; padding: 3px 0 3px 7px; {{roundy}};" align="left" |<tt>{{{password2|&nbsp;}}}</tt>
 
|-
 
| style="background: #eaf76d; padding: 3px; text-align:right;" | '''Profile:'''
 
| style="padding:0px;" |
 
{| width=100% style="{{roundy}};" class="collapsible collapsed"
 
! &nbsp;
 
|-
 
| style="line-height:13px; padding:0px 3px 0 3px;" | <small>''{{{description|Please enter a profile description.<br>[{{fullurl:{{FULLPAGENAME}}|action=edit}} Click here] to add one.}}}''</small>
 
|}
 
|}
 
|}
 
|-
 
| width=25% style="padding:0 3px 0 1px;" | {{#if: {{{image|}}} | [[File:{{{image|}}}]] | [[File:{{{front|nia.png{{!}}167px}}}]]}} {{#if: {{{front|}}} || [[Special:Upload|{{Colorshow|333|<small>Have one to add?</small>}}]]}}
 
|-
 
| colspan=2 style="padding:1px 1px 0 1px; border-top:1px solid #d5e154;" |
 
{| width=100% style="background: #eaf76d; {{roundy|25px}};"
 
| width=3% style="padding:0 0 0 12px; text-align:left;"|[[{{{prevcard|Merchandise/Animal Crossing-e}}} | {{Colorshow|000|←}}]]
 
| width=32px style="padding:0px;" |
 
{| style="background:#d5e154; {{roundy|30px}};"
 
| [[File:{{{prevtype|Unknown}}}SpeciesIconSilhouette.png|32px|link={{{prevcard|Merchandise/Animal Crossing-e}}}]]
 
|}
 
| width=25% style="text-align:left;" |[[{{{prevcard|Merchandise/Animal Crossing-e}}} | {{Colorshow|000|<small>{{{prevnum|X-000}}} {{{prevcard|Previous}}}</small>}}]]
 
| width=30% | [[Merchandise/Animal Crossing-e|{{Colorshow|333|<small>'''Animal Crossing e-cards'''</small>}}]]<br>'''#{{{number|}}} {{{name|}}}'''
 
| width=25% style="text-align:right" | [[{{{nextcard|Merchandise/Animal Crossing-e}}}|{{Colorshow|000|<small>{{{nextnum|X-000}}} {{{nextcard|Next}}} </small>}}]]
 
| width=32px style="padding:0px;" |
 
{| style="background:#d5e154; {{roundy|30px}};"
 
| [[File:{{{nexttype|Unknown}}}SpeciesIconSilhouette.png|32px|link={{{nextcard|Merchandise/Animal Crossing-e}}}]]
 
|}
 
| width=3% style="padding:0 12px 0 0; text-align:right;"| [[{{{nextcard|Merchandise/Animal Crossing-e}}}|{{Colorshow|000|→}}]]
 
|}
 
|}
 
  
<br>
+
*<code>s</code> - (for 'short') can be used to produce an acronym: [[New Horizons|NH]]
{| align=center style="background-color:#{{ColorSecondary}}; {{roundy|24px}};"
+
*<code>l</code> - (for 'long') can be used to produce the title's full name: [[Animal Crossing: New Horizons]]
|
+
*<code>nl</code> - (for 'no link') can be used to remove the link: New Horizons
{| style="background-color:transparent;"
+
 
| [[File:CatSpeciesIconSilhouette.png|40px]]
+
</noinclude>
| width=60px style="text-align:left;" |[[Cat|{{colorshow|333|More '''cat'''<br>villagers]]}}
 
| [[File:CubSpeciesIconSilhouette.png|40px]] [[File:PenguinSpeciesIconSilhouette.png|40px]] [[File:RabbitSpeciesIconSilhouette.png|40px]] [[File:HamsterSpeciesIconSilhouette.png|40px]] [[File:LionSpeciesIconSilhouette.png|40px]] [[File:AlligatorSpeciesIconSilhouette.png|40px]] [[File:BirdSpeciesIconSilhouette.png|40px]] [[File:EagleSpeciesIconSilhouette.png|40px]] [[File:ElephantSpeciesIconSilhouette.png|40px]] [[File:GoatSpeciesIconSilhouette.png|40px]] [[File:GorillaSpeciesIconSilhouette.png|40px]] [[File:HippoSpeciesIconSilhouette.png|40px]] [[File:KangarooSpeciesIconSilhouette.png|40px]] [[File:KoalaSpeciesIconSilhouette.png|40px]] [[File:MouseSpeciesIconSilhouette.png|40px]] [[File:MonkeySpeciesIconSilhouette.png|40px]] [[File:OstrichSpeciesIconSilhouette.png|40px]]
 
|}
 
{| style="background-color:transparent;"
 
| [[File:RhinoSpeciesIconSilhouette.png|40px]] [[File:AnteaterSpeciesIconSilhouette.png|40px]] [[File:CatSpeciesIconSilhouette.png|40px]] [[File:CubSpeciesIconSilhouette.png|40px]] [[File:PenguinSpeciesIconSilhouette.png|40px]] [[File:RabbitSpeciesIconSilhouette.png|40px]] [[File:HamsterSpeciesIconSilhouette.png|40px]] [[File:LionSpeciesIconSilhouette.png|40px]] [[File:AlligatorSpeciesIconSilhouette.png|40px]] [[File:BirdSpeciesIconSilhouette.png|40px]] [[File:EagleSpeciesIconSilhouette.png|40px]] [[File:ElephantSpeciesIconSilhouette.png|40px]] [[File:GoatSpeciesIconSilhouette.png|40px]] [[File:GorillaSpeciesIconSilhouette.png|40px]] [[File:HippoSpeciesIconSilhouette.png|40px]] [[File:KangarooSpeciesIconSilhouette.png|40px]] [[File:KoalaSpeciesIconSilhouette.png|40px]]
 
| width=60px style="text-align:right;" |'''[[List of villagers|{{colorshow|333|Villager<br>list}}]]'''
 
| [[File:MouseSpeciesIconSilhouette.png|40px]]
 
|}
 
|}
 
<br>
 
{{User:Sunmarsh/Sandbox/TableContent
 
|species = cat
 
|pers = peppy
 
|cardnum = 001
 
|prevnum = 000
 
|prevcard = huh
 
|nextnum = 002
 
|nextcard = yeah
 
}}
 

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