4,624
edits
(smiddle's additional parameters) |
|||
| Line 22: | Line 22: | ||
Could someone please explain [http://www.wikiindex.com/index.php?title=Template:Tag&curid=2577&diff=33835&oldid=15714&rcid=35300 this change] to me? Thank you. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 14:21, 29 October 2006 (EST) | Could someone please explain [http://www.wikiindex.com/index.php?title=Template:Tag&curid=2577&diff=33835&oldid=15714&rcid=35300 this change] to me? Thank you. [[TedErnst]] | <small>[[User talk:TedErnst|talk]]</small> 14:21, 29 October 2006 (EST) | ||
: I'll try it: | |||
<nowiki>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]][[Category:{{{1}}}|{{{3|{{FULLPAGENAME}}}}}]]</nowiki> | |||
lets explode it a little: | |||
<nowiki>[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]</nowiki> ''(the first part is visible within the floating text)'' | |||
<nowiki>[[Category:{{{1}}}|{{{3|{{FULLPAGENAME}}}}}]]</nowiki> ''(the second part works for categorization)'' | |||
the '''first part''' displays an optional alternative text with the second parameter (the pipe means: take parameter #2, if not present, default to parameter #1) | |||
the '''second part''' categorizes the page to the category named by parameter #1, if an alternative ordering in the auto index of the category page is needed, you can define the sorting key with parameter #3, if not the full page name will be used (this is the normal cat order behavior). Yes, I hate the MediWiki template syntax too, although I'm am a programmer because it's like typing machine code. --[[Wolf Peuker|Peu]] | <small>[[User talk:Peu|talk]]</small> 14:54, 29 October 2006 (EST) | |||
edits