Template:FamilyInfobox/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>A morris
(adding download parameter)
m (11 revisions imported: Import from https://sims.wikia.com)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Description: Infobox for a family's page.
;Description: Infobox for a family or household's page. Used by {{t|Family}}.

;Syntax: <code>{{T|FamilyInfobox|...}}</code>. Additionals parameter are <code>difficulty</code> and <code>download</code>.
;Syntax: <code>{{T|FamilyInfobox|...}}</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>
<pre>
<pre>
{{FamilyInfobox
{{FamilyInfobox
|name =
|image =
|image =
|caption =
|caption =
|members =
|members =
|generations =
|connect =
|connect =
|lot =
|funds =
|worth =
|difficulty =
|game =
|play =
|neighbor =
|neighbor =
|games =
|theories =
|theories =
}}
}}
</pre>
</pre>

;Parameters
;Parameters
:family - The name of the family.
:'''name''' - The name of the family.
:image - An image of the family. Resize to 256px.
:'''image''' - The image of the family. Must be in 250px.
:caption - A caption for the image.
:'''caption''' - The family biography.
:members - The playable members of the household.
:'''members''' - The playable members of the household.
:'''generations''' - The number of generations in the family.
:neighbor - The neighborhood they were playable in.
:connect - Other families they are connected to.
:'''connect''' - Other families they are connected to.
:games - The game the family has appeared in.
:'''lot''' - The lot the family lives in.
:'''funds''' - The total of household funds.
:difficulty - A number representing the level of difficulty. ''The Sims 3'' only.
:'''worth''' - The total of household's net worth.
:download - A link to the download
:'''difficulty''' - The difficulty of the household in ''The Sims 3'' families.
:theories - The text for a link to the "theories" sub-page. Optional.
:'''game''' - The game the family appears in.
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
:'''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.
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]][[Category:Meta-templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 16:25, 6 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.