|
|
(79 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {| class="roundlast" style="background: #{{{primarycolor|b3b3b3}}}; margin-left: 10px; margin-bottom: 10px; {{roundy|15px}} border: 3px solid #{{{bordercolor|4d4d4d}}}; width: 310px; padding: 2px; float:right"
| + | <includeonly><!-- This first line must remain empty --> |
− | |- | + | | scope="row" width=45px| [[File:{{{image|}}}|x50px|link={{{name|}}}]] |
− | ! colspan="2" {{#if:{{{titlecolor|}}}| style="background: #{{{titlecolor|}}}; {{roundy|10px}}" }} | <big><big><font color="#{{{textcolor|000}}}">{{{title|{{PAGENAME}}}}}</font></big></big>
| + | | width=110px | {{#ifeq:{{{no_localization|}}}|1|'''''[[{{{name|}}}|{{#invoke:SentenceCase|main|{{{name|}}}}}]]''''' {{Flag|JPN|text=Name has not been localized from Japanese}}|'''[[{{{name|}}}|{{#invoke:SentenceCase|main|{{{name|}}}}}]]'''}}{{#ifeq:{{{alt_name|}}}|||{{Note|name={{{name|}}}|In {{PG}} only, {{{name|}}} is instead named '''{{{alt_name|}}}'''.}}}}{{#ifeq:{{{engb_name|}}}|||{{Note|name={{{name|}}}|In PAL regions, {{{name|}}} is instead named '''{{{engb_name|}}}'''.}}}}{{#switch:{{{name|}}}|Filly|Holden={{Note|name={{{name|}}}| Despite being a villager, {{{name|}}} is unable to live in the player's town.}}|}} |
− | |- {{#if: {{{subtitleabove|}}}| | + | | width=45px | {{#ifeq:{{{id|}}}|||{{Code|{{{id|}}}}}}} |
− | {{!-}} align="center" | + | | width=50px | [[{{{species|}}}]] |
− | {{!}} style="background: #{{{secondarycolor|d9d9d9}}}; {{roundy|10px}}" colspan="2" {{!}} ''<small>"{{{subtitle}}}"</small>''|}} | + | | width=50px |[[File:{{{gender|}}} symbol.png|{{#switch:{{{gender|}}}|Female = 20px|Male = 16px}}|link=]] {{{gender|}}} |
− | |- | + | | width=60px |[[{{{personality|}}}]]{{#switch: {{{name|}}} |
− | | style="background: #ffffff; text-align:center; {{roundy|9px}}" colspan="2" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this boxart?<br>Then please '''[[Special:Upload|upload]]''' it!}}{{#if:{{{caption|}}}|<br>{{{caption}}}}}<br>{{#if:{{{image2|}}}|{{{image}}}|}}{{#if:{{{caption2|}}}|<br>{{{caption}}}}} | + | |#default = |
− | |- {{#if: {{{subtitlebelow|}}}| | + | |Rowan = {{Note|Prior to {{WW|short}}, this character was [[cranky]].}} |
− | {{!-}} align="center" | + | |Harry = {{Note|Prior to {{CF|short}}, this character was [[jock]].}} |
− | {{!}} colspan="2" style="background: #{{{primarycolor|b3b3b3}}};" {{!}} <div style="background: #FFFFFF; {{roundy|10px}}; width:90%;">{{{subtitlebelow|}}}</div>|}}
| + | |Violet = {{Note|Prior to {{CF|short}}, this character was [[snooty]].}} |
− | <!--
| + | |Dobie = {{Note|name=NLLazy|Prior to {{NL|short}}, this character was [[lazy]].}} |
− | ~ WIDE LABEL BEGIN ~
| + | |T-Bone = {{Note|name=NLLazy}} |
− | -->
| + | |Ed = {{Note|name=NLJock|Prior to {{NL|short}}, this character was [[jock]].}} |
− | |- {{#if:{{{widedatasolo|}}}| | + | |Leopold = {{Note|name=NLJock}} |
− | {{!-}}
| + | |Curlos = {{Note|name=NLCranky|Prior to {{NL|short}}, this character was [[cranky]].}} |
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}} text-align: center;" {{!}} {{{widelabelsolo|}}}
| + | |O'Hare = {{Note|name=NLCranky}} |
− | {{!-}} | + | |Charlise = {{Note|name=NLPeppy|Prior to {{NL|short}}, this character was [[peppy]].}} |
− | {{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; text-align: center;" {{!}} {{{widedatasolo|}}}}} | + | |Paula|Plucky = {{Note|name=NLPeppy}} |
− | |- {{#if:{{{widedata|}}}| | + | |Sylvia = {{Note|name=NLSnooty|Prior to {{NL|short}}, this character was [[snooty]].}} |
− | {{!-}} | + | |Ursula = {{Note|name=NLSnooty}} |
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytop|9px}} text-align: center;" {{!}} {{{widelabel}}}
| + | |Roswell = {{Note|Prior to {{NH|short}}, this character was [[lazy]].}} |
− | {{!-}} | + | |Faith = {{Note|Prior to {{NH|short}}, this character was [[normal]].}}}} |
− | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata|}}}}}
| + | | width=100px | [[File:Starsign {{{sign|}}} NH Icon.png|30px|link={{{sign|}}}]] {{#ifeq:{{{birthday|}}}||Unknown|{{{birthday|}}}}} |
− | |- {{#if:{{{widedata2|}}}| | + | | {{#ifeq:{{{dnm|}}}|1|{{Table cell|Villager}}|{{Table cell|}}}} |
− | {{!-}}
| + | | {{#ifeq:{{{ac|}}}|1|{{#ifeq:{{{islander|}}}|1|{{Table cell|Islander}}|{{Table cell|Villager}}}}|{{Table cell|}}}} |
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel2}}}
| + | | {{#ifeq:{{{e_plus|}}}|1|{{Table cell|Villager}}|{{Table cell|}}}} |
− | {{!-}} | + | | {{#ifeq:{{{ww|}}}|1|{{Table cell|Villager}}|{{Table cell|}}}} |
− | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata2|}}}}} | + | | {{#ifeq:{{{cf|}}}|1|{{Table cell|Villager}}|{{Table cell|}}}} |
− | |- {{#if:{{{widedata3|}}}| | + | | {{#ifeq:{{{nl|}}}|1|{{Table cell|Villager}}|{{#ifeq:{{{wa|}}}|1|{{Table cell|amiibo}}|{{Table cell|}}}}}} |
− | {{!-}} | + | | {{#ifeq:{{{hhd|}}}|1|{{Table cell|Villager}}|{{Table cell|}}}} |
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel3}}}
| + | | {{#ifeq:{{{pc|}}}|1|{{Table cell|Villager}}|{{Table cell|}}}} |
− | {{!-}} | + | | {{#ifeq:{{{nh|}}}|1|{{#switch:{{{version_added|}}}|1.0.0={{Table cell|Villager}}|1.9.0={{Table cell|nh1.9}}|2.0={{Table cell|nh2.0}}}}|{{Table cell|}}}} |
− | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata3|}}}}} | + | |-</includeonly> |
− | |- {{#if:{{{widedata4|}}}| | |
− | {{!-}} | |
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabel4}}}
| |
− | {{!-}} | |
− | {{!}} colspan="2" style="background:#ffffff; text-align: center;" {{!}} {{{widedata4|}}}}}
| |
− | |- {{#if:{{{widedataend|}}}| | |
− | {{!-}} | |
− | ! colspan="2" style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{widelabelend}}}
| |
− | {{!-}} | |
− | {{!}} colspan="2" style="background:#ffffff; {{roundybottom|9px}}; text-align: center;" {{!}} {{{widedataend|}}}}} | |
− | <!--
| |
− | ~ LIST LABEL BEGIN ~
| |
− | -->
| |
− | |- {{#if:{{{listdatal|}}}| | |
− | {{!-}} | |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytl|9px}}; text-align:center;" {{!}} {{{listlabell}}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytr|9px}}; text-align:center;" {{!}} {{{listlabelr}}}
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdatal|}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdatar|}}}}}
| |
− | |- {{#if:{{{listdata2l|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata2l|}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata2r|}}}}}
| |
− | |- {{#if:{{{listdata3l|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata3l|}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata3r|}}}}}
| |
− | |- {{#if:{{{listdata4l|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata4l|}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata4r|}}}}}
| |
− | |- {{#if:{{{listdata5l|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata5l|}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata5r|}}}}}
| |
− | |- {{#if:{{{listdata6l|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata6l|}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{listdata6r|}}}}}
| |
− | |- {{#if:{{{listdataendl|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background:#ffffff; {{roundybl|9px}}; padding:0 0 0 6px;" {{!}} {{{listdataendl|}}}
| |
− | {{!}} style="background:#ffffff; {{roundybr|9px}}; padding:0 0 0 6px;" {{!}} {{{listdataendr|}}}}}
| |
− | <!--
| |
− | ~ STANDARD LABEL BEGIN ~
| |
− | -->
| |
− | |-
| |
− | ! width=40% style="background: #{{{secondarycolor|d9d9d9}}}; {{roundytl|9px}}; text-align:center;" | {{{label}}}
| |
− | | style="background:#ffffff; {{roundytr|9px}}; padding:0 0 0 6px;" | {{{data|}}}
| |
− | |- {{#if:{{{data2|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label2}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data2|}}}}}
| |
− | |- {{#if:{{{data3|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label3}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data3|}}}}}
| |
− | |- {{#if:{{{data4|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label4}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data4|}}}}}
| |
− | |- {{#if:{{{data5|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label5}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data5|}}}}}
| |
− | |- {{#if:{{{data6|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label6}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data6|}}}}}
| |
− | |- {{#if:{{{data7|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label7}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data7|}}}}}
| |
− | |- {{#if:{{{data8|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label8}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data8|}}}}}
| |
− | |- {{#if:{{{data9|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label9}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data9|}}}}}
| |
− | |- {{#if:{{{data10|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label10}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data10|}}}}}
| |
− | |- {{#if:{{{data11|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; text-align:center;" {{!}} {{{label11}}}
| |
− | {{!}} style="background:#ffffff; padding:0 0 0 6px;" {{!}} {{{data11|}}}}}
| |
− | |- {{#if:{{{dataend|}}}|
| |
− | {{!-}}
| |
− | ! style="background: #{{{secondarycolor|d9d9d9}}}; {{roundybl|9px}} text-align:center;" {{!}} {{{labelend}}}
| |
− | {{!}} style="background:#ffffff; {{roundybr|9px}} padding:0 0 0 6px;" {{!}} {{{dataend|}}}}}
| |
− | <!--
| |
− | ~ STRATEGYWIKI BEGIN ~
| |
− | -->
| |
− | {{#if:{{{strategywiki|}}}|
| |
− | {{!-}}
| |
− | {{!}} style="background: #ffffff; text-align:center; line-height:12px; {{roundy|9px}}" colspan="2" {{!}}
| |
− | [[StrategyWiki:{{{strategywiki|}}}|Guide at StrategyWiki]]}}
| |
− | |}
| |
− | <noinclude>
| |
− | ==Usage==
| |
− | This is a very complex template that has been designed to accommodate multiple different use cases for infoboxes. Please see the below for the full list of parameters.
| |
− | <pre>
| |
− | {{Infobox
| |
− | |bordercolor =
| |
− | |primarycolor =
| |
− | |secondarycolor =
| |
− | |titlecolor =
| |
− | |textcolor =
| |
− | |title =
| |
− | |subtitleabove =
| |
− | |subtitlebelow =
| |
− | |image =
| |
− | |caption =
| |
− | |image2 =
| |
− | |caption2 =
| |
− | |widelabelsolo =
| |
− | |widedatasolo =
| |
− | |widelabel =
| |
− | |widedata =
| |
− | |widelabel2 =
| |
− | |widedata2 =
| |
− | |widelabel3 =
| |
− | |widedata3 =
| |
− | |widelabel4 =
| |
− | |widedata4 =
| |
− | |widelabelend =
| |
− | |widedataend =
| |
− | |listlabell =
| |
− | |listlabelr =
| |
− | |listdatal =
| |
− | |listdatar =
| |
− | |listdata2l =
| |
− | |listdata2r =
| |
− | |listdata3l =
| |
− | |listdata3r =
| |
− | |listdata4l =
| |
− | |listdata4r =
| |
− | |listdata5l =
| |
− | |listdata5r =
| |
− | |listdata6l =
| |
− | |listdata6r =
| |
− | |listdataendl =
| |
− | |listdataendr =
| |
− | |labelsolo =
| |
− | |datasolo =
| |
− | |label =
| |
− | |data =
| |
− | |label2 =
| |
− | |data2 =
| |
− | |label3 =
| |
− | |data3 =
| |
− | |label4 =
| |
− | |data4 =
| |
− | |label5 =
| |
− | |data5 =
| |
− | |label6 =
| |
− | |data6 =
| |
− | |label7 =
| |
− | |data7 =
| |
− | |label8 =
| |
− | |data8 =
| |
− | |label9 =
| |
− | |data9 =
| |
− | |label10 =
| |
− | |data10 =
| |
− | |label11 =
| |
− | |data11 =
| |
− | |labelend =
| |
− | |dataend =
| |
− | |strategywiki =
| |
− | }}</pre>
| |
− | [[Category:Infobox templates]]
| |
− | </noinclude> | |