Changes

Jump to navigation Jump to search
I've implemented xxxx-raw versions of parmaters in {{country}}
Line 30: Line 30:  
By the way, fair warning that I didn't test that code yet. It's just a rough idea how to implement what I'm suggesting, that's all. [[User:AManInBlack|AManInBlack]] 13:13, 7 July 2007 (EDT)
 
By the way, fair warning that I didn't test that code yet. It's just a rough idea how to implement what I'm suggesting, that's all. [[User:AManInBlack|AManInBlack]] 13:13, 7 July 2007 (EDT)
   −
AMIB I wrote the template with the main intention of US presidents and later changed it to incorporate other nations.  However, I can see your point about linking political parties. Perhaps we can remove the automatic wikilink and request a manual link.  I am aware of None bug for vice-presidents and intend to fix it but I find it easier to do with a large sheet of paper and as I am on the road at the moment I can't work the way I want.  I'll think over your suggestions.  The ''other'' wiki has a very large template for holders of office and more advanced inclusions in their common.css and common.js pages
+
:AMIB I wrote the template with the main intention of US presidents and later changed it to incorporate other nations.  However, I can see your point about linking political parties. Perhaps we can remove the automatic wikilink and request a manual link.  I am aware of None bug for vice-presidents and intend to fix it but I find it easier to do with a large sheet of paper and as I am on the road at the moment I can't work the way I want.  I'll think over your suggestions.  The ''other'' wiki has a very large template for holders of office and more advanced inclusions in their common.css and common.js pages
−
Something else to watch out for in templates is the case of the parameter text being entered.  Both Republican and Democratic redirect to the respective parties on CP, changing this might tread on a few toes.  An alternative structure is to use the ''switch'' function.  As the default nation is USA it might be possible to switch to being non-autolinked  for other nations.  It's good to have these topics debated as the underlying structure and categorization of the entire site is involved and as CP expands it needs to be set on firm foundations.  [[User:BrianCo|BrianCo]] 16:42, 7 July 2007 (EDT)
+
:Something else to watch out for in templates is the case of the parameter text being entered.  Both Republican and Democratic redirect to the respective parties on CP, changing this might tread on a few toes.  An alternative structure is to use the ''switch'' function.  As the default nation is USA it might be possible to switch to being non-autolinked  for other nations.  It's good to have these topics debated as the underlying structure and categorization of the entire site is involved and as CP expands it needs to be set on firm foundations.  [[User:BrianCo|BrianCo]] 16:42, 7 July 2007 (EDT)
 +
 
 +
::It's not that some president infoboxes might not have the party field filled in yet (I haven't checked), but even in if they all have them at the moment, there's no guarantee of that in the future, especially given that the infoboxes are not just for the American presidents.
 +
::I've just changed some details of the {{tl|country}} template.  For almost all the fields that are automatically linked, I have an alternative parameter that is not linked, but for which explicit linking can be passed if necessary.  In the case of this President template, you could have ''party'' automatically linked, but use ''party-raw'' when you want to specify "none".  See, for example, the infobox in [[United Kingdom]], where the parameter ''government-raw'' is used to provide two separate links, which was not previously possible.
 +
::[[User:Philip J. Rayment|Philip J. Rayment]] 12:30, 8 July 2007 (EDT)
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu