Template:Infobox family/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>SimDestroyer
(Created page with ";Description: Infobox for a family or household's page. ;Syntax: <code>{{T|Infobox family|...}}</code>. :If placing many infoboxes in one article, enclose the...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Uses TemplateStyles|
;Description: Infobox for a family or household's page.
* [[Template:Metainfobox/styles.css]]}}
==Description==
Infobox for a family or household's page.


==Syntax==
;Syntax: <code>{{T|Infobox family|...}}</code>.
<code>{{T|Infobox family|...}}</code>.


:If placing many infoboxes in one article, enclose them in <code><nowiki><div style="float:right;">...</div</nowiki>></code>
:If placing many infoboxes in one article, enclose them in <code><nowiki><div style="float:right;">...</div</nowiki>></code>
Line 22: Line 26:
</pre>
</pre>


;Parameters
==Parameters==
:'''name''' - The name of the family.
:'''name''' - The name of the family.
:'''image''' - The image of the family. Must be in 250px.
:'''image''' - The image of the family. Must be in 250px.
Line 37: Line 41:
:'''neighbor''' - The neighborhood the family is playable in.
:'''neighbor''' - The neighborhood the family is playable in.


<includeonly>[[Category:Metainfobox templates|{{PAGENAME}}]]</includeonly>
<includeonly>[[Category:Metainfobox templates|Family]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 17:46, 7 May 2019

This template uses TemplateStyles

Description[edit source]

Infobox for a family or household's page.

Syntax[edit source]

{{Infobox family|<...>}}.

If placing many infoboxes in one article, enclose them in <div style="float:right;">...</div>
{{Infobox family
|name        = 
|image       = 
|caption     = 
|members     = 
|generations = 
|connect     = 
|lot         = 
|funds       = 
|worth       = 
|difficulty  = 
|game        = 
|play        = 
|neighbor    = 
}}

Parameters[edit source]

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 family is playable in.