Difference between revisions of "Template:Testwiki"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
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?)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki/index.php/{{{1}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude>Testing...</noinclude>
+
<includeonly><span class="plainlinks">[http://kol.coldfront.net/thekolwiki/index.php/{{PAGENAMEE:{{{1|}}}}}{{{3|}}} {{#ifeq:|{{{2}}}|{{{1|}}}{{{3|}}}|{{{2|{{{1}}}}}}}}]</span></includeonly><noinclude>Testing...  
 +
 
 +
Samples:
 +
{|
 +
|-
 +
|<nowiki>{{testwiki|Dry noodles}}</nowiki>
 +
|{{testwiki|Dry noodles}}
 +
|-
 +
|<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>

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.