Help:Magic words: Difference between revisions

Content deleted Content added
supress cat on invalid example
Parser functions: format and make kawaii (cute)
Line 356:
Page IDs can be associated with articles via wikilinks (i.e. <code>[[Special:Redirect/page/3235121]]</code>goes to this page).
To output numbers without comma [[Delimiter|separator]]s (for example, as "123456789" rather than "123,456,789"), append the parameter <kbd>|R</kbd>.
{{cot|Magic words with other magic words as arguments, and substingsubst:ing}}
 
<syntaxhighlight lang="wikitext">
{| class="wikitable plainrowheaders"
{{PAGESIZE}}
! scope=col | Code
</syntaxhighlight>
! scope=col | Output
{{suppress categories|{{PAGESIZE}}}}<!--To suppress the category "Pages which use a template in place of a magic word" generated by this erroneous usage-->
|-
<syntaxhighlight lang="wikitext">
|<syntaxhighlight lang="wikitext">{{PAGESIZE}}</syntaxhighlight>
{{PAGESIZE:Help:Magic words}}
| {{suppress categories|{{PAGESIZE}}}}<!--To suppress the category "Pages which use a template in place of a magic word" generated by this erroneous usage-->
</syntaxhighlight>
|-
{{PAGESIZE:Help:Magic words}}
|<syntaxhighlight lang="wikitext">{{PAGESIZE:Help:Magic words}}</syntaxhighlight>
|{{subst:PAGESIZE:Help:Magic words}}
|-
</syntaxhighlight>
|<syntaxhighlight lang="wikitext">{{subst:PAGESIZE:Help:Magic words}}</syntaxhighlight>
33,455
|{{PAGESIZE:Help:Magic words}}
<syntaxhighlight lang="wikitext">
|-
{{PAGESIZE:{{FULLPAGENAME}}}}
|<syntaxhighlight lang="wikitext">{{PAGESIZE:{{FULLPAGENAME}}}}</syntaxhighlight>
|{{PAGESIZE:{{FULLPAGENAME}}}}
|-
<syntaxhighlight lang="wikitext">
|<syntaxhighlight lang="wikitext">{{subst:PAGESIZE:{{FULLPAGENAME}}}}</syntaxhighlight>
|0
</syntaxhighlight>
|-
|<syntaxhighlight lang="wikitext">{{subst:PAGESIZE:{{subst:FULLPAGENAME}}}}</syntaxhighlight>
|{{subst:PAGESIZE:{{subst:FULLPAGENAME}}}}
|-
</syntaxhighlight>
|}
33,455
{{cob}}