StrategyWiki talk:Community Portal/2006/August: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
m
Text replacement - "Sandbox" to "Sandbox"
m (fix links)
m (Text replacement - "Sandbox" to "Sandbox")
 
Line 134: Line 134:
:I like this. The problem with making a unvirsal template to do this is that some pages have multiple origins/destinations, although that could be resolved by including freeform parameters like Header Nav already has. This could also be implemented into Header Nav itself; it could be quite useful to go navigate fro the top of a page without re-opening the TOC. [[User:Garrett|Garrett]]<sup>[[User talk:Garrett|Talk]]</sup> 00:04, 19 August 2006 (CDT)
:I like this. The problem with making a unvirsal template to do this is that some pages have multiple origins/destinations, although that could be resolved by including freeform parameters like Header Nav already has. This could also be implemented into Header Nav itself; it could be quite useful to go navigate fro the top of a page without re-opening the TOC. [[User:Garrett|Garrett]]<sup>[[User talk:Garrett|Talk]]</sup> 00:04, 19 August 2006 (CDT)


{{Footer Nav|game=Mount&Blade|prevpage=Arena Expansion|customprev=<font color=red>Blood!</font>|prevname=Wafflecookies|here=Chocolate|nextpage=Skills|nextname=Catgirls|customnext=[[Sandbox]]}}
{{Footer Nav|game=Mount&Blade|prevpage=Arena Expansion|customprev=<font color=red>Blood!</font>|prevname=Wafflecookies|here=Chocolate|nextpage=Skills|nextname=Catgirls|customnext=[[StrategyWiki:Sandbox|Sandbox]]}}


How about this? This allows almost anything, and pretty much is just like what you'd already developed. The far left and right parts are optional like Header Nav's. [[User:Garrett|Garrett]]<sup>[[User talk:Garrett|Talk]]</sup> 21:39, 19 August 2006 (CDT)
How about this? This allows almost anything, and pretty much is just like what you'd already developed. The far left and right parts are optional like Header Nav's. [[User:Garrett|Garrett]]<sup>[[User talk:Garrett|Talk]]</sup> 21:39, 19 August 2006 (CDT)
Line 144: Line 144:
:I guess you could enclose all the hide/show specific classes(like NavHead and stuff) in qifs with the classes in the else field, so they'd be default included unless you put a variable like toc=no in. I'll try and see if that works. --[[User:Blendmaster|blendmaster]] 16:00, 26 August 2006 (CDT)
:I guess you could enclose all the hide/show specific classes(like NavHead and stuff) in qifs with the classes in the else field, so they'd be default included unless you put a variable like toc=no in. I'll try and see if that works. --[[User:Blendmaster|blendmaster]] 16:00, 26 August 2006 (CDT)
::Sweet it works:
::Sweet it works:
{{Footer Nav|game=Mount&Blade|prevpage=Arena Expansion|customprev=<font color=red>Blood!</font>|prevname=Wafflecookies|here=Chocolate|nextpage=Skills|nextname=Catgirls|customnext=[[Sandbox]]|toc=yes}}
{{Footer Nav|game=Mount&Blade|prevpage=Arena Expansion|customprev=<font color=red>Blood!</font>|prevname=Wafflecookies|here=Chocolate|nextpage=Skills|nextname=Catgirls|customnext=[[StrategyWiki:Sandbox|Sandbox]]|toc=yes}}
I put all the class settings in qif tags testing for the toc variable, with the default class settings in the else section, so unless toc is set to something, it will put in the classes and dropdown. So actually, you could say toc=yes and it would still hide the dropdown, but that's just a limitation of the qif, i guess.  
I put all the class settings in qif tags testing for the toc variable, with the default class settings in the else section, so unless toc is set to something, it will put in the classes and dropdown. So actually, you could say toc=yes and it would still hide the dropdown, but that's just a limitation of the qif, i guess.  
Also, traded the walkthrough start link for a go to top link, that really links to the closest thing I could find to the top of the page, the id=outer div. I guess one of the admins could add a #top anchor for that though. --[[User:Blendmaster|blendmaster]] 14:32, 27 August 2006 (CDT)
Also, traded the walkthrough start link for a go to top link, that really links to the closest thing I could find to the top of the page, the id=outer div. I guess one of the admins could add a #top anchor for that though. --[[User:Blendmaster|blendmaster]] 14:32, 27 August 2006 (CDT)