Difference between revisions of "Help:Magic Words"

(just saving in order not to lose work)
 
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
Here are some useful magic words for you.
Here are some useful magic words for you.


{| border=1 cellpadding="2" cellspacing="0" width=100%
{| border=1 cellpadding="2" cellspacing="0" width=70%
|-
|-
!What you need
!What you see
!What you see
!What you type
!What you type
|-
|-
! colspan=2 | General Usage
| Page name, including subpage but not including Namespace
|-
| {{PAGENAME}}
| {{PAGENAME}}
| <pre>{{PAGENAME}}</pre>
| <pre>{{PAGENAME}}</pre>
|-
|-
| {{PAGENAME}}
| Page name including subpage and Namespace
| <pre>{{PAGENAME}}</pre>
| {{FULLPAGENAME}}
| <pre>{{FULLPAGENAME}}</pre>
|-
|-
| {{PAGENAME}}
| Page name not including subpage and Namespace
| <pre>{{PAGENAME}}</pre>
| {{BASEPAGENAME}}
| <pre>{{BASEPAGENAME}}</pre>
|-
|-
| {{PAGENAME}}
| SubPage name
| <pre>{{PAGENAME}}</pre>
| {{SUBPAGENAME}}
| <pre>{{SUBPAGENAME}}</pre>
|-
|-
|
| {{PAGENAME}}
| {{PAGENAME}}
| <pre>{{PAGENAME}}</pre>
| <pre>{{PAGENAME}}</pre>
|-
|-
|}
|}

Latest revision as of 14:05, 28 October 2018

Magic Words are templates that handle something from or about the system. For example, the magic word {{PAGENAME}} gives you the page's name, Magic Words.

These words are always all CAPS, and like other pages on the wiki, are case- and spelling-sensitive.

Useful Magic Words

Here are some useful magic words for you.

What you need What you see What you type
Page name, including subpage but not including Namespace Magic Words
{{PAGENAME}}
Page name including subpage and Namespace Help:Magic Words
{{FULLPAGENAME}}
Page name not including subpage and Namespace Magic Words
{{BASEPAGENAME}}
SubPage name Magic Words
{{SUBPAGENAME}}
Magic Words
{{PAGENAME}}