Difference between revisions of "User talk:Warman8"
(more info?) |
(→Templates) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Curious - could you provide some context for the multiplayer pages you're adding, e.g [[Darth_Max]]? Like link to where you're picking up info from? and what ranks refer to? -[[User:Makanyane|Makanyane]] 19:09, 1 April 2009 (UTC) | Curious - could you provide some context for the multiplayer pages you're adding, e.g [[Darth_Max]]? Like link to where you're picking up info from? and what ranks refer to? -[[User:Makanyane|Makanyane]] 19:09, 1 April 2009 (UTC) | ||
+ | |||
+ | ==Templates== | ||
+ | I've fiddled a bit more with [[Template:Fictional Battles]] and put an example of it in use into the Sandbox page: | ||
+ | http://www.twcenter.net/w/index.php?title=Sandbox&oldid=22137 | ||
+ | |||
+ | You look like you're getting there but are confusing what needs to go on template page versus where its used. You define the boxes and headings on the template page and you use {{{example}}} to define a point on the template where there's a gap to put information in when the template is used. | ||
+ | When you use it on an article page all you need is | ||
+ | <nowiki>{{template_name|example=text here}}</nowiki> | ||
+ | |||
+ | If you just want to code the table on the article page each time and not use a template you don't need the {{{ }}} stuff within the table. It's a bit of a nightmare to figure out - everyone really just does it by finding something similar that's working and copying and altering it a bit... Try and do that to something that's working here, rather than on En Wikipedia though - if you try copying templates from Wikipedia you'll find they don't work properly because you're missing other sub-templates or bits of CSS. | ||
+ | |||
+ | :Have fiddled with the template and [[Ambush at Bizen]], sorry that took a while, was off for a bit. Is that understandable now? and do you need any more optional slots in the template?? -[[User:Makanyane|Makanyane]] 07:38, 30 April 2009 (UTC) | ||
+ | |||
+ | ::For your statistics box try copying the table at [[Released_Mods#Major_Released_M2TW_Expansion_Mods]] and see if you can adjust it. If you only need one page with it on there is no point trying to make it as a template. For the content box, is that only going to be for the one page? -[[User:Makanyane|Makanyane]] 16:57, 6 May 2009 (UTC) | ||
+ | |||
+ | Got slightly distracted by trying to create the show/hide function that was in the example you showed - got it working for overall table but can't at moment work out how to do it for a part only - and can't work out how to make it start hidden - adding that involved me fiddling with the java and CSS files so if you notice any other tables have gone weird please yell! Have made a table a bit like that one and put it in an experimentation page I made for you at [[User:Warman8/sandbox]] - it isn't a template so you can add or remove rows directly in the table, just copy / remove chunks inlcuding the | ||
+ | ! Title: | ||
+ | | text | ||
+ | |- | ||
+ | bits, paste whole thing into page you want to use it on. [[User:Makanyane|Makanyane]] 21:52, 6 May 2009 (UTC) |
Latest revision as of 14:53, 6 May 2009
Curious - could you provide some context for the multiplayer pages you're adding, e.g Darth_Max? Like link to where you're picking up info from? and what ranks refer to? -Makanyane 19:09, 1 April 2009 (UTC)
Templates
I've fiddled a bit more with Template:Fictional Battles and put an example of it in use into the Sandbox page: http://www.twcenter.net/w/index.php?title=Sandbox&oldid=22137
You look like you're getting there but are confusing what needs to go on template page versus where its used. You define the boxes and headings on the template page and you use {{{example}}} to define a point on the template where there's a gap to put information in when the template is used. When you use it on an article page all you need is {{template_name|example=text here}}
If you just want to code the table on the article page each time and not use a template you don't need the {{{ }}} stuff within the table. It's a bit of a nightmare to figure out - everyone really just does it by finding something similar that's working and copying and altering it a bit... Try and do that to something that's working here, rather than on En Wikipedia though - if you try copying templates from Wikipedia you'll find they don't work properly because you're missing other sub-templates or bits of CSS.
- Have fiddled with the template and Ambush at Bizen, sorry that took a while, was off for a bit. Is that understandable now? and do you need any more optional slots in the template?? -Makanyane 07:38, 30 April 2009 (UTC)
- For your statistics box try copying the table at Released_Mods#Major_Released_M2TW_Expansion_Mods and see if you can adjust it. If you only need one page with it on there is no point trying to make it as a template. For the content box, is that only going to be for the one page? -Makanyane 16:57, 6 May 2009 (UTC)
Got slightly distracted by trying to create the show/hide function that was in the example you showed - got it working for overall table but can't at moment work out how to do it for a part only - and can't work out how to make it start hidden - adding that involved me fiddling with the java and CSS files so if you notice any other tables have gone weird please yell! Have made a table a bit like that one and put it in an experimentation page I made for you at User:Warman8/sandbox - it isn't a template so you can add or remove rows directly in the table, just copy / remove chunks inlcuding the
! Title: | text |-
bits, paste whole thing into page you want to use it on. Makanyane 21:52, 6 May 2009 (UTC)