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)
sims>A morris
(adding additional parameters: generations & economicstatus)
Line 1: Line 1:
;Description: Infobox for a family's page.
;Description: Infobox for a family or household's page.
;Syntax: <code>{{T|FamilyInfobox|...}}</code>. Additionals parameter are <code>difficulty</code> and <code>download</code>.
;Syntax: <code>{{T|FamilyInfobox|...}}</code>. Additional parameters are <code>difficulty</code> and <code>download</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>
Line 7: Line 7:
|caption =
|caption =
|members =
|members =
|generations =
|economicstatus =
|connect =
|connect =
|neighbor =
|neighbor =
Line 18: Line 20:
:caption - A caption for the image.
:caption - A caption for the image.
: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.
: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.
:games - The game the family has appeared in.
:difficulty - A number representing the level of difficulty. ''The Sims 3'' only.
:difficulty - A number representing the level of difficulty. ''The Sims 3'' only.
:economicstatus - A word representing the economic status of the household.
:download - A link to the download
:download - A link to the download
:theories - The text for a link to the "theories" sub-page. Optional.
:theories - The text for a link to the "theories" sub-page. Optional.

Revision as of 15:29, 24 October 2010

Description
Infobox for a family or household's page.
Syntax
{{FamilyInfobox|<...>}}. Additional parameters are difficulty and download.
If placing many infoboxes in one article, enclose them in <div style="float:right;">...</div>
{{FamilyInfobox
|image       = 
|caption     = 
|members     = 
|generations = 
|economicstatus = 
|connect     = 
|neighbor    = 
|games       = 
|theories    = 
}}
Parameters
family - The name of the family.
image - An image of the family. Resize to 256px.
caption - A caption for the image.
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.
games - The game the family has appeared in.
difficulty - A number representing the level of difficulty. The Sims 3 only.
economicstatus - A word representing the economic status of the household.
download - A link to the download
theories - The text for a link to the "theories" sub-page. Optional.