Ero sivun ”Malline:Kyselylinkki” versioiden välillä

Mummilan wikistä
(Toin en-wikistä.)
 
(Toin käyttöohjeen en-wikistä.)
Rivi 1: Rivi 1:
<includeonly><span class="plainlinks">[{{SERVER}}{{localurl:{{{1}}}}}?{{{qs}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude>
<includeonly><span class="plainlinks">[{{SERVER}}{{localurl:{{{1}}}}}?{{{qs}}} {{{2|{{{1}}}}}}]</span></includeonly><noinclude>
{{template doc}}
{{Documentation subpage}}
 
This template creates an [[Help:Link#Wikilinks|internal link]] to the specified page (1) with the specified [[query string]] (qs) of the form <code>qs=name=value&name2=value2</code> and optionally the specified caption (2) which defaults to the specified page (1). The intended purpose of this template is to provide the ability to create internal links with a query string component, which addresses a limitation of the current [http://www.mediawiki.org wiki software].
 
Example usage:
                      ''1              qs                      2''
  <nowiki>{{</nowiki>{{BASEPAGENAME}}|Special:Allpages|qs=namespace=1|See what people are talking about}}
 
Produces:
{{{{BASEPAGENAME}}|Special:Allpages|qs=namespace=1|See what people are talking about}}
 
<includeonly>
[[Category:Internal link templates|{{PAGENAME}}]]
</includeonly>
</noinclude>
</noinclude>

Versio 1. huhtikuuta 2008 kello 14.05

Malline:Documentation subpage

This template creates an internal link to the specified page (1) with the specified query string (qs) of the form qs=name=value&name2=value2 and optionally the specified caption (2) which defaults to the specified page (1). The intended purpose of this template is to provide the ability to create internal links with a query string component, which addresses a limitation of the current wiki software.

Example usage:

                     1              qs                       2
 {{Kyselylinkki|Special:Allpages|qs=namespace=1|See what people are talking about}}

Produces: See what people are talking about