Template talk:Simbio3: 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>Duskey
No edit summary
sims>A morris
Line 30: Line 30:


:To differentiate between the two without having the user enter the difference I we'd need a <code>GetTrait</code> and a <code>GetAspiration</code> template. Wouldn't this solve the problem? '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 23:26, September 4, 2010 (UTC)
:To differentiate between the two without having the user enter the difference I we'd need a <code>GetTrait</code> and a <code>GetAspiration</code> template. Wouldn't this solve the problem? '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 23:26, September 4, 2010 (UTC)
::Sounds good. --[[User:A_morris|a_morris]] <small>([[User_talk:A_morris|talk]])</small> 04:00, October 7, 2010 (UTC)

Revision as of 04:00, 7 October 2010

Adding trait links

I noticed them linking do disambig. pages too. We'll have to do some if friendly then link to Friendly (trait) stuff. Would that be okay for bring back links to traits? Duskey(talk) 03:34, August 17, 2010 (UTC)

Yea, we can do that. Any time we add links we should also check if it's in the main namespace to avoid red links from player stories. --a_morris (talk) 22:35, August 22, 2010 (UTC)
So it's {{Simbio}} we should edit and replace eg. {{{trait5}}} with
{{Checkmns|
[[{{#switch:{{{trait5}}}
|Friendly = Friendly (trait){{!}}Friendly
|Loner = Loner (trait){{!}}Loner
|Athletic = Athletic (trait){{!}}Athletic
}}]]
|{{{trait5}}}
}}

? Duskey(talk) 05:21, August 23, 2010 (UTC)

Yes, and {{Sim}} as well. I would put it in a separate template so you don't have to keep copying it. We can also do something similar for aspirations. --a_morris (talk) 05:54, August 23, 2010 (UTC)
Do you think we should make a GetLink template, we can put just about any disambiguation link in there. Duskey(talk) 06:14, August 23, 2010 (UTC)
How would you determine which page to link? --a_morris (talk) 22:18, August 31, 2010 (UTC)
Like this: Simbio3 here gets a [[{{GetLink|{{{trait1}}}}}]]
GetLink will look like this:
{{Checkmns|
{{#switch:{{{1}}}
|Friendly = Friendly (trait){{!}}Friendly
|Loner = Loner (trait){{!}}Loner
|Athletic = Athletic (trait){{!}}Athletic
|{{{1}}}
}}
}}
I think that'd work. Duskey(talk) 22:59, August 31, 2010 (UTC)

How would you know to link to Friendly (trait) or Friendly (aspiration), for example? --a_morris (talk) 19:53, September 4, 2010 (UTC)

To differentiate between the two without having the user enter the difference I we'd need a GetTrait and a GetAspiration template. Wouldn't this solve the problem? Duskey(talk) 23:26, September 4, 2010 (UTC)
Sounds good. --a_morris (talk) 04:00, October 7, 2010 (UTC)