Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PG/BASEPAGENAMEE

Template page
Revision as of 10:36, 27 April 2016 by imported>Trimoon (Final fix)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PG

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Description
This is a drop-in functionality for wikis that don't have Subpages enabled.
This documentation is shared between templates affected by this, see the See also section at bottom.
Usage
To make use of the same functionality as the magic-word using a template with same name if it exists.
Use {{msg:PG}} inplace of {{PG}}
Or {{msg:PG|Pagename}} inplace of {{PG:Pagename}} to provide a pagename to operate upon.
If no Pagename is provided it defaults to {{FULLPAGENAME}}.
Logic table for debugging
code result
input Template:(((1|{{FULLPAGENAME}}}}} Template:PG/BASEPAGENAMEE
Tinput Template:(((1|{{FULLPAGENAME}}/1 1/2 2}}} Template:PG/BASEPAGENAMEE/1 1/2 2
NAMESPACE {{NAMESPACE}} Template
PAGENAME {{PAGENAME:input }} PG/BASEPAGENAMEE
{{PAGENAME:Tinput }} PG/BASEPAGENAMEE/1 1/2 2
#titleparts: |1 {{#titleparts:{{PAGENAME:input }}|1}} PG
{{#titleparts:{{PAGENAME:Tinput }}|1}} PG
#titleparts: |-1 {{#titleparts:{{PAGENAME:input }}|-1}} PG
{{#titleparts:{{PAGENAME:Tinput }}|-1}} PG/BASEPAGENAMEE/1 1
#titleparts: ||-1 {{#titleparts:{{PAGENAME:input }}||-1}} BASEPAGENAMEE
{{#titleparts:{{PAGENAME:Tinput }}||-1}} 2 2
Functionality table for debugging
functionality code result
PG {{PG:input}} Template:PG:Template:PG/BASEPAGENAMEE
{{PG:Tinput}} Template:PG:Template:PG/BASEPAGENAMEE/1 1/2 2
msg:PG {{msg:PG|input}} Template:PG
{{msg:PG|Tinput}} Template:PG
Dependencies
See also
The above text is transcluded from Template:BASEPAGENAME/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:BASEPAGENAME/doc. (View all subpages of this page.)