Template:FamilyInfobox: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Nikel23 No edit summary |
SimDestroyer (talk | contribs) m (Protected "Template:FamilyInfobox" ([Edit=Allow only autoconfirmed and confirmed users] (indefinite) [Move=Allow only administrators and content moderators] (indefinite) [Delete=Allow only administrators and content moderators] (indefinite))) |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 52: | Line 52: | ||
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Funds''' |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Funds''' |
||
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}§{{{funds}}} |
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}§{{{funds}}} |
||
⚫ | |||
⚫ | |||
{{#if:{{{worth<includeonly>|</includeonly>}}} | |
|||
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Net worth''' |
|||
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}§{{{worth}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 78: | Line 83: | ||
{{#if:{{{game<includeonly>|</includeonly>}}} | |
{{#if:{{{game<includeonly>|</includeonly>}}} | |
||
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; color:#4b4b4b; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;"{{!}}'''Game''' |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; color:#4b4b4b; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;"{{!}}'''Game''' |
||
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}{{#if:{{{game|}}}|{{GetGameIcon|{{{game}}} }} }}''[[{{{game}}}]]'' |
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}{{#if:{{{game|}}}|{{GetGameIcon|{{{game}}}|{{{neighbor}}} }} }} ''[[{{{game}}}]]'' |
||
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetFamilyGameCat|{{{game}}}}}|<!--Not in Main: namespace-->}}</includeonly> |
<includeonly>{{#ifeq:{{NAMESPACE}}| |{{GetFamilyGameCat|{{{game}}}}}|<!--Not in Main: namespace-->}}</includeonly> |
||
{{!}}- |
{{!}}- |
||
Line 96: | Line 101: | ||
}} |
}} |
||
{{#if:{{{neighbor<includeonly>|</includeonly>}}} | |
{{#if:{{{neighbor<includeonly>|</includeonly>}}} | |
||
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; color:#4b4b4b; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;"{{!}}'''Neighborhood''' |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; color:#4b4b4b; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;"{{!}}'''{{#ifeq:{{Vgseries|{{{game}}}}} | The Sims 4 | World | Neighborhood}}''' |
||
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;"{{!}}{{Checkmns| {{#switch: {{{neighbor}}} |
|||
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;"{{!}}{{#if: {{{neighbor<includeonly>|</includeonly>}}} | {{#ifeq: {{{neighbor|}}} | Pets | [[Pets (neighborhood)|Pets]] | {{#ifeq: {{{neighbor|}}} | Hobbies | [[Hobbies (neighborhood)|Hobbies]] | {{#ifeq: {{{neighbor|}}} | Exotic Destinations | [[Secret sub-neighborhood#Exotic Destinations|Exotic Destinations]] | {{#ifeq: {{{neighbor|}}} | Weather | [[Weather (neighborhood)|Weather]] | {{#ifeq: {{{neighbor|}}} | Magic | [[Magic (neighborhood)|Magic]] | {{#ifexist: {{{neighbor}}} | [[{{{neighbor}}}]] | {{{neighbor}}} }} }} }} }} }} }} }} |
|||
|Downtown = {{#ifeq:{{{game}}}|The Sims: Hot Date|[[Downtown (The Sims)|Downtown]]|[[Downtown (The Sims 2)|Downtown]]}} |
|||
⚫ | <includeonly>{{Checkmns |
||
|Pets = [[Pets (neighborhood)|Pets]] |
|||
|Weather = [[Weather (neighborhood)|Weather]] |
|||
|Hobbies = [[Hobbies (neighborhood)|Hobbies]] |
|||
|Magic = [[Magic (neighborhood)|Magic]] |
|||
|[[{{{neighbor}}}]] |
|||
}} }}{{Checkfns| {{#ifexist: Fanon:{{{neighbor}}}|[[Fanon:{{{neighbor}}}]]|{{{neighbor}}} }} }} |
|||
⚫ | |||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
| |
| |
||
⚫ | |||
|} |
|||
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left" |
|||
|- |
|||
{{#ifeq: {{#expr: {{#if:{{{theories}}}|1|0}} or {{#if:{{{fanoncomments}}}|1|0}} }} | 0 | |
|||
⚫ | |||
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game}}} }} }};" {{!}}<br> |
|||
{{!}}- |
|||
}} |
}} |
||
|} |
|} |
||
Line 129: | Line 133: | ||
</div> |
</div> |
||
|} |
|} |
||
</div><noinclude>{{documentation}}</noinclude> |
</div><includeonly>{{checkmns|[[Category:Pages using familybio templates]]}}</includeonly><noinclude>{{clr}}{{documentation}}</noinclude> |
Latest revision as of 15:44, 10 March 2019
- Description
- Infobox for a family or household's page. Used by {{Family}}.
- Syntax
{{FamilyInfobox|<...>}}
.
- If placing many infoboxes in one article, enclose them in
<div style="float:right;">...</div>
{{FamilyInfobox |name = |image = |caption = |members = |generations = |connect = |lot = |funds = |worth = |difficulty = |game = |play = |neighbor = |theories = }}
- Parameters
- name - The name of the family.
- image - The image of the family. Must be in 250px.
- caption - The family biography.
- members - The playable members of the household.
- generations - The number of generations in the family.
- connect - Other families they are connected to.
- lot - The lot the family lives in.
- funds - The total of household funds.
- worth - The total of household's net worth.
- difficulty - The difficulty of the household in The Sims 3 families.
- game - The game the family appears in.
- play - The family playability: Playable, Unplayable, Family Bin, Deceased, or Downloadable.
- neighbor - The neighborhood the are playable in.
- theories - Whether the family has theories or not. Optional.
Visit Template:FamilyInfobox/doc to edit this text! (How does this work?) (Refresh this text - why?)