Template talk:Simbio3: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>A morris |
sims>A morris (→Adding trait links: partial implementation) |
||
Line 31: | Line 31: | ||
: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) |
::Sounds good. --[[User:A_morris|a_morris]] <small>([[User_talk:A_morris|talk]])</small> 04:00, October 7, 2010 (UTC) |
||
:::I've added a disambiguation switch for aspirations in {{t|Sim}} and {{t|Simbio}}. --[[User:A_morris|a_morris]] <small>([[User_talk:A_morris|talk]])</small> 04:14, November 28, 2010 (UTC) |
Revision as of 04:14, 28 November 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
- So it's {{Simbio}} we should edit and replace eg.
{{Checkmns| [[{{#switch:{{{trait5}}} |Friendly = Friendly (trait){{!}}Friendly |Loner = Loner (trait){{!}}Loner |Athletic = Athletic (trait){{!}}Athletic }}]] |{{{trait5}}} }}
? Duskey(talk) 05:21, August 23, 2010 (UTC)
- GetLink will look like this:
{{Checkmns| {{#switch:{{{1}}} |Friendly = Friendly (trait){{!}}Friendly |Loner = Loner (trait){{!}}Loner |Athletic = Athletic (trait){{!}}Athletic |{{{1}}} }} }}
How would you know to link to Friendly (trait) or Friendly (aspiration), for example? --a_morris (talk) 19:53, September 4, 2010 (UTC)