Template:Spouse/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris mNo edit summary |
sims>A morris (When to use "Deceased") |
||
Line 3: | Line 3: | ||
:For more spouses: <code>{{T|Spouse|name|status|name|status|name|status}}</code> |
:For more spouses: <code>{{T|Spouse|name|status|name|status|name|status}}</code> |
||
;Sample: <code><nowiki>{{Spouse|[[Ophelia Nigmos]]|Dating}}</nowiki></code> gives {{Spouse|[[Ophelia Nigmos]]|Dating}} |
;Sample: <code><nowiki>{{Spouse|[[Ophelia Nigmos]]|Dating}}</nowiki></code> gives {{Spouse|[[Ophelia Nigmos]]|Dating}} |
||
;When to use "Deceased" |
|||
#Use "Deceased" only when the Sim has out lived his or her partner and add <code><nowiki>[[File:<living relationship type>.jpg]]</nowiki></code> after the template. |
|||
#If both Sims are dead, include the relationship they had when alive in the template followed by <code><nowiki>[[File:Deceased.jpg]]</nowiki></code> |
|||
<includeonly>[[Category:Bio templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
<includeonly>[[Category:Bio templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 19:45, 24 September 2009
- Description
- Links to up to 3 Sims, displaying their marital status with images. For use on Sim pages in {{Simbio-start}} and other infoboxes. Uses {{GetMaritalCat}}.
- Syntax
{{Spouse|<name>|<status>}}
, wherename
is the link of the Sim, and status is their marital status to the current Sim: "Deceased", "Divorced", "Engaged", "Crush", "Dating", "Lover"/"Lovers", "Ex-girlfriend"/"Ex-boyfriend"- For more spouses:
{{Spouse|<name>|<status>|<name>|<status>|<name>|<status>}}
- Sample
{{Spouse|[[Ophelia Nigmos]]|Dating}}
gives Ophelia Nigmos- When to use "Deceased"
- Use "Deceased" only when the Sim has out lived his or her partner and add
[[File:<living relationship type>.jpg]]
after the template. - If both Sims are dead, include the relationship they had when alive in the template followed by
[[File:Deceased.jpg]]