Template:Familybio2: 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>Dharden
(Added connections)
m (Protected "Template:Familybio2" ([Edit=Allow only autoconfirmed and confirmed users] (indefinite) [Move=Allow only autoconfirmed and confirmed users] (indefinite) [Delete=Allow only autoconfirmed and confirmed users] (indefinite)))
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Info||This template is currently being phased out in favor of {{tl|Infobox family2}}. Please use that template instead.}}</noinclude>{{FamilyInfobox
<div style="width:250px;float:right;clear:right;margin:-1.5em 0 1em 1em;border:1px solid #000000;background:#FFFFFF;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
|image = {{{image<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|caption = {{{caption<includeonly>|</includeonly>}}}
'''''{{{game|The Sims 2}}}'''''<br />
|game = {{{game|The Sims 2}}}
{{#if: {{{image<includeonly>|</includeonly>}}} |{{{image}}}<br><small>{{{caption|Hi! My name is {{{name|{{PAGENAME}}}}}! }}}</small> }}</p>
|members = {{{members<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
'''Members''': {{{members}}}{{#if:{{{economicstatus<includeonly>|</includeonly>}}}|<br>
|lot = {{{lot<includeonly>|</includeonly>}}}
'''Economic status''': {{{economicstatus<includeonly>|</includeonly>}}} }}</p>
|funds = {{{funds<includeonly>|</includeonly>}}}
{{#if: {{{connect<includeonly>|</includeonly>}}} | '''Family Connections''': {{{connect}}}<br>}}
|worth = {{{worth<includeonly>|</includeonly>}}}
|resources = {{{resources<includeonly>|</includeonly>}}}
----
|food = {{{food<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if: {{{play<includeonly>|</includeonly>}}} | '''Playability''': {{{play}}}<br>}}
|play = {{{play<includeonly>|</includeonly>}}}
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |
}}<noinclude>
{{#ifeq: {{{play}}}| Playable |[[Category:Playable families]] }}
{{#ifeq: {{{play}}}| Deceased |[[Category:Deceased families]] }}
{{clr}}{{Documentation}}[[Category:Infobox templates|{{PAGENAME}}]]
{{#ifeq: {{{play}}}| Townie |[[Category:Townie families]] }}
{{#ifeq: {{{play}}}| NPC |[[Category:NPC families]] }}
{{#ifeq: {{{play}}}| Downloadable |[[Category:Downloadable families]] }}
{{#if: {{{economicstatus|}}} | [[Category: {{{economicstatus}}} families]] }}
|<!--Not in Main: namespace-->}}
</includeonly>
{{#if: {{{neighbor<includeonly>|</includeonly>}}} | '''Neighborhood''': [[{{{neighbor}}}]]
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:{{{neighbor}}} families]]|<!--Not in Main: namespace-->}}</includeonly>}}</p></div><noinclude>

==Usage==
Used for Families from [[The Sims 2]]

Copy and paste the following:

<pre>
{{Family2
|image =
|caption =
|members =
|economicstatus =
|play =
|neighbor =
}}
</pre>

====Required parameters====
''This template has no required parameters.''

====Optional parameters====
*'''image''' - <nowiki>[[File:Example.jpg|width]]</nowiki>. The width of the image should be no larger than 235px.
*'''members''' - List living members
*'''play''' - Playable, Deceased, Townie, or NPC
*'''neighbor''' - Neighbor they exist(ed) in
*'''economicstatus''' - The economic status of the household

[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 15:41, 10 March 2019

Information
This template is currently being phased out in favor of {{Infobox family2}}. Please use that template instead.
{{{image}}}
Description
{{{caption}}}
Members {{{members}}}
Lot {{{lot}}}
Funds §{{{funds}}}
Net worth §{{{worth}}}
Resources {{{resources}}}
Food {{{food}}}
Other Information
Game The Sims 2
Playability {{{play}}}
Neighborhood
Template documentation (View · Edit · History · Purge)
Description
Used for families that appear in multiple games and The Sims 2.
Syntax
{{Familybio2|<...>}}

The optional parameter includes name, resources, and food.

{{Familybio2
|image       = 
|caption     = 
|members     = 
|lot         = 
|funds       = 
|worth       = 
|game        = 
|play        = 
|neighbor    = 
}}

Visit Template:Familybio2/doc to edit this text! (How does this work?) (Refresh this text - why?)