Template talk:Continue Nav

From StrategyWiki, the free strategy guide and walkthrough wiki

[edit] default 100% width

I'm not sure if this is oddly inheriting something from the all game nav classes, but I can't seem to make the div be less than 100% width! Can anyone fix this? --blendmaster 22:32, 30 August 2006 (CDT)

Seems to work fine for me. I wonder if width should be definable, though; at what I've experimented with it looks fine, but once you add some customs it definitely needs more width. GarrettTalk 23:41, 30 August 2006 (CDT)

[edit] Modification

I was thinking of making a modification to this (due to the preload templates not making "Getting Started" a link), so that if "Getting Started" did not exist, it would link to "Controls" instead. The code to do this is below:

<div align="center"><div style="width: 40%; margin: 1em; border: 1px solid
#AAAAAA; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px;
-moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px;
text-align: center; font-size: 12px;"><div>'''Continue to:'''</div>
[[{{{game}}}/{{{nextpage|{{#ifexist:{{{game}}}/Getting Started|Getting
Started|Controls}}}}}|{{{nextname|{{#ifexist:{{{game}}}/Getting
Started|{{{nextpage|Getting Started}}}]]|{{{nextpage|Controls}}}]]}}}}}
 →<br /><br />[[{{{game}}}/{{{nextpage2|Walkthrough}}}|{{{nextname2|{{{nextpage2|Walkthrough}}
}}}}]] →{{#if:{{{custom|}}}|<br />{{{custom}}} →}}</div></div>

would produce:

Continue to:
[[{{{game}}}/Controls|Controls]] →

[[{{{game}}}/Walkthrough|Walkthrough]] →

instead of the normal

if "Getting Started" was nonexistant. Let me know what you think. --Ryan SchmidtTalk - Contribs 16:57, 8 May 2007 (CDT)

I like it, but it seems like it isn't useful. First of all, we use Getting Started as a standard, thus if it doesn't exist the red link helps people note that it needs to be created. Second, if a guide is completely done and no Getting Started section is necessary, then the continue nav can be modified to use Controls instead of Getting Started (or at least I thought this was possible, aren't custom pages already available?). --Notmyhandle (talk contribs) 20:56, 7 June 2007 (CDT)
I already implemented it a while ago anyway. How it works is:
  • It links to nextpage if that parameter is defined. If it isn't then:
  • It links to Getting Started if it exists
  • It links to Controls if Getting Started does not exist but controls does
  • It links to Getting Started if neither Getting Started nor Controls exist
SkizzerzTalk - Contribs 21:34, 7 June 2007 (CDT)

[edit] Jump to ToC Feature

Prod just added this. I like it, what about you guys? Should it be made into a custom feature for smaller articles? --Notmyhandle (talk contribs) 20:59, 7 June 2007 (CDT)

Done, just put nojump=1 or something to switch it off. --SkizzerzTalk - Contribs 21:34, 7 June 2007 (CDT)
I would say it's not necessary. Even if it is a short page, it keeps consistency with all the other main pages. And even on short pages the functionality isn't completely useless, it move the toc to the top, so you can get a full screen's worth of ToC. -- Prod (Talk) 21:50, 7 June 2007 (CDT)