Template:Familybio2: Difference between revisions

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))
sims>A morris
mNo edit summary
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)))
 
(19 intermediate revisions by 8 users not shown)
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 = {{{game|The Sims 2}}}'''''<br />
{{#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%">
|lot = {{{lot<includeonly>|</includeonly>}}}
'''Members''': {{{members}}}<br>
'''Economic|funds status''':= {{{economicstatusfunds<includeonly>|</includeonly>}}}</p>
|worth = {{{worth<includeonly>|</includeonly>}}}
----
|resources = {{{resources<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if:|food = {{{playfood<includeonly>|</includeonly>}}} | '''Playability''': {{{play}}}<br>}}
|play = {{{play<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |
{{#if:|neighbor = {{{neighbor<includeonly>|</includeonly>}}} | '''Neighborhood''': [[{{{neighbor}}}]]
{{#ifeq: {{{play}}}| Playable |[[Category:Playable families]] }}
}}<noinclude>
{{#ifeq: {{{play}}}| Deceased |[[Category:Deceased families]] }}
{{#ifeq: clr}}{{{playDocumentation}}}| Townie |[[Category:TownieInfobox familiestemplates|{{PAGENAME}}]] }}
{{#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>