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>Random Ranaun
(Created page with '<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;"> <p styl…')
 
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)))
 
(26 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></p>
|funds = {{{funds<includeonly>|</includeonly>}}}
----
|worth = {{{worth<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if:|resources = {{{playresources<includeonly>|</includeonly>}}} | '''Playability''': {{{play}}}<br>}}
|food = {{{food<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq: {{{play}}}| Playable |{{#ifeq:{{NAMESPACE}}| |[[Category:Playable families]]|<!--Not in Main: namespace-->}} }}
|play = {{{play<includeonly>|</includeonly>}}}
{{#ifeq: {{{play}}}| Deceased |{{#ifeq:{{NAMESPACE}}| |[[Category:Deceased families]]|<!--Not in Main: namespace-->}} }}
{{#if:|neighbor = {{{neighbor<includeonly>|</includeonly>}}} | '''Neighborhood''': [[{{{neighbor}}}]]
{{#ifeq: {{{play}}}| Townie |{{#ifeq:{{NAMESPACE}}| |[[Category:Townie families]]|<!--Not in Main: namespace-->}} }}
}}<noinclude>
{{#ifeq: {{{play}}}| NPC |{{#ifeq:{{NAMESPACE}}| |[[Category:NPC families]]|<!--Not in Main: namespace-->}} }}
{{clr}}{{Documentation}}[[Category:Infobox templates|{{PAGENAME}}]]
{{#ifeq: {{{play}}}| Downloadable |{{#ifeq:{{NAMESPACE}}| |[[Category:Downloadable 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]].
 
Copy and paste the following:
 
<pre>
{{User:Random Ranaun/Family1
|image =
|caption =
|members =
|play =
|neighbor =
}}
</pre>
 
====Required parameters====
''This template has no required parameters.''
 
====Optional parameters====
*'''image''' - <nowiki>[[File:Example.jpg|width]]</nowiki>. The width of the imageshould be no larger than 235px.
*'''members''' - List living members
*'''play''' - Playable, Deceased, Townie, or NPC
*'''neighbor''' - Neighbor they exist(ed) in
 
</noinclude>