Template:Family3: 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
(simplifying play category code, adding economicstatus)
m (Protected "Template:Family3" ([Edit=Allow only autoconfirmed and confirmed users] (indefinite) [Move=Allow only autoconfirmed and confirmed users] (indefinite) [Delete=Allow only autoconfirmed and confirmed users] (indefinite)))
 
(24 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{Info||This template is currently being phased out in favor of {{tl|Infobox family3}}. 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;">
|header = {{{name|{{PAGENAME}}}}}
<p style="margin:0 3% 0 3%;text-align:center;font-size:94%">
|name = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
'''''{{{game|The Sims 3}}}'''''<br />
{{#if: {{{image<includeonly>|</includeonly>}}} |{{{image}}}<br><small>{{{caption|Hi! My name is {{{name|{{PAGENAME}}}}}! }}}</small> }}</p>
|image = {{{image<includeonly>|</includeonly>}}}
|caption = {{{caption<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
|game = {{{game|The Sims 3}}}
'''Members''': {{{members}}}<br>
'''Economic status''': {{{economicstatus<includeonly>|</includeonly>}}}<br>
|members = {{{members<includeonly>|</includeonly>}}}
{{#if: {{{difficulty<includeonly>|</includeonly>}}} | '''Difficulty level''': [[File:Difficulty{{{difficulty}}}.png|{{{difficulty}}} of 6]] <br>
|generations = {{{generations<includeonly>|</includeonly>}}}
|connect = {{{connect<includeonly>|</includeonly>}}}
<includeonly>{{Checkmns|{{#if:{{{difficulty|}}}|[[Category:Families with difficulty level {{{difficulty}}}]]}} }}</includeonly>}}</p>
|lot = {{{lot<includeonly>|</includeonly>}}}
----
|funds = {{{funds<includeonly>|</includeonly>}}}
<p style="margin:0 3% 0 3%;text-align:left;font-size:94%">
{{#if: {{{play<includeonly>|</includeonly>}}} | '''Playability''': {{{play}}}<br>}}
|worth = {{{worth<includeonly>|</includeonly>}}}
|play = {{{play<includeonly>|</includeonly>}}}
<includeonly>{{#ifeq:{{NAMESPACE}}| |
|difficulty = {{{difficulty<includeonly>|</includeonly>}}}
{{#ifeq: {{{play}}}| Playable |[[Category:Playable families]] }}
|neighbor = {{{neighbor<includeonly>|</includeonly>}}}
{{#ifeq: {{{play}}}| Deceased |[[Category:Deceased families]] }}
|fanoncomments = <includeonly>{{Checkfns|</includeonly>[[{{FULLPAGENAME}}#WikiaArticleComments|Write a Review!]]<includeonly>}}</includeonly>
{{#ifeq: {{{play}}}| Townie |[[Category:Townie families]] }}
}}<noinclude>{{clr}}{{Documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
{{#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 3]].

Copy and paste the following:

<pre>
{{Family3
|image =
|caption =
|members =
|play =
|neighbor =
|difficulty =
}}
</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
*'''difficulty''' - The difficulty level

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

Latest revision as of 15:38, 10 March 2019

Information
This template is currently being phased out in favor of {{Infobox family3}}. Please use that template instead.
Family3
{{{image}}}
Description
{{{caption}}}
Name {{{name}}}
Members {{{members}}}
Number of generations {{{generations}}} generations
Family connections {{{connect}}}
Lot {{{lot}}}
Funds §{{{funds}}}
Net worth §{{{worth}}}
Difficulty level [[File:Difficulty{{{difficulty}}}.png|{{{difficulty}}} of 6]]
Other Information
Game The Sims 3
Playability {{{play}}}
Neighborhood
Write a Review!
Template documentation (View · Edit · History · Purge)
Description
Used for families appearing only in The Sims 3.
Syntax
{{Family3|<...>}}

The optional parameters include name and theories.

{{Family3
|image       = 
|caption     = 
|members     = 
|generations = 
|connect     = 
|lot         = 
|funds       = 
|worth       = 
|difficulty  = 
|game        = 
|play        = 
|neighbor    = 
}}

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