Template:Testwiki: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m Undo revision 9511 by Heeheehee (Talk)
imported>Heeheehee
m And templates refreshed! (Yup, this looks pretty good. Opinions before I (or a ninja) roll it out to the actual template page?
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki/index.php/{{PAGENAMEE:{{{1|}}}}}{{{3|}}} {{{2|{{{1|}}}{{{3|}}}}}}]</span></includeonly><noinclude>Testing...  
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki/index.php/{{PAGENAMEE:{{{1|}}}}}{{{3|}}} {{#ifeq:|{{{2}}}|{{{1|}}}{{{3|}}}|{{{2|{{{1}}}}}}}}]</span></includeonly><noinclude>Testing...  


{{testwiki|Bad Moon|Bad Moon Special Adventures|#Special_Adventures}}
Samples:
 
{|
{{testwiki|Dry noodles}}
|-
 
|<nowiki>{{testwiki|Dry noodles}}</nowiki>
{{testwiki|Bad Moon||#Special_Adventures}} (Placeholder text needed, otherwise it turns into a linked number.)
|{{testwiki|Dry noodles}}
 
|-
{{testwiki|Polka Pop|Alternative link}}
|<nowiki>{{testwiki|Polka Pop|Alternative link}}</nowiki>
|{{testwiki|Polka Pop|Alternative link}}
|-
|<nowiki>{{testwiki|Bad Moon||#Special_Adventures}}</nowiki>
|{{testwiki|Bad Moon||#Special_Adventures}}
|-
|<nowiki>{{testwiki|Bad Moon|this here link|#{{ANCHORENCODE:Special Adventures}}}}</nowiki>
|{{testwiki|Bad Moon|this here link|#{{ANCHORENCODE:Special Adventures}}}}
|}


Note that you'll need to prefix the anchor bit with a #, mainly because I can't figure out any other way to make this work.
</noinclude>
</noinclude>

Latest revision as of 02:28, 30 July 2010

Testing...

Samples:

{{testwiki|Dry noodles}} Dry noodles
{{testwiki|Polka Pop|Alternative link}} Alternative link
{{testwiki|Bad Moon||#Special_Adventures}} Bad Moon#Special_Adventures
{{testwiki|Bad Moon|this here link|#{{ANCHORENCODE:Special Adventures}}}} this here link

Note that you'll need to prefix the anchor bit with a #, mainly because I can't figure out any other way to make this work.