Vorlage:Namespace detect/Doku: Unterschied zwischen den Versionen

Some wording fixes.
imported>Davidgothberg
(More documentation, about the "demospace" parameter.)
imported>Davidgothberg
(Some wording fixes.)
Zeile 58: Zeile 58:
}}
}}


By using an empty parameter you can make it so the template doesn't render anything for some specific page types. Like this:
By using an empty parameter you can make it so the template doesn't render anything for some specific page type. Like this:


<pre>
<pre>
Zeile 92: Zeile 92:
}}
}}


You might want to test and demonstrate the different appearances of your template in its documentation. Then it is convenient to make it so your template can take the demospace parameter and send it on to the {{tl|namespace detect}} template. Then do like this:
It can be convenient to let your template understand the demospace parameter and send it on to the {{tl|namespace detect}} template. Then do like this:


<pre>
<pre>
Anonymer Benutzer