Difference between revisions of "Template:BASEPAGENAME/doc"
From Project: Gorgon Wiki
(Copy-over latest version from wikia:c:templates:Template:BASEPAGENAME/doc) |
m (Updated with description and see also links) |
||
Line 1: | Line 1: | ||
{{SPW|is not on|name={{msg:BASEPAGENAME}}}} | {{SPW|is not on|name={{msg:BASEPAGENAME}}}} | ||
− | + | ;Description | |
− | + | :This is a drop-in functionality for wikis that don't have [[mw:Special:MyLanguage/Help:Subpages|Subpages]] enabled. | |
− | + | :This documentation is shared between templates affected by this, see the '''See also''' section at bottom. | |
− | + | ||
− | |||
;Usage | ;Usage | ||
− | Use <code><nowiki>{{</nowiki>msg:{{msg:BASEPAGENAME}}<nowiki>}}</nowiki></code> inplace of <code><nowiki>{{</nowiki>{{msg:BASEPAGENAME}}<nowiki>}}</nowiki></code> to make use of the same functionality as the [[mw:Special:MyLanguage/Help:Magic words#Page_names|magic-word]] using a template with same name if it exists. | + | :Use <code><nowiki>{{</nowiki>msg:{{msg:BASEPAGENAME}}<nowiki>}}</nowiki></code> inplace of <code><nowiki>{{</nowiki>{{msg:BASEPAGENAME}}<nowiki>}}</nowiki></code> to make use of the same functionality as the [[mw:Special:MyLanguage/Help:Magic words#Page_names|magic-word]] using a template with same name if it exists. |
{| class="wikitable" style="background-color:teal;" | {| class="wikitable" style="background-color:teal;" | ||
Line 61: | Line 60: | ||
;See also | ;See also | ||
− | *[[ | + | *[[mw:Help:Magic words#Transclusion modifiers|MAGICWORD msg]] |
− | + | *[[Template:BASEPAGENAME]] | |
− | + | *[[Template:BASEPAGENAMEE]] | |
− | + | *[[Template:SUBPAGENAME]] | |
+ | *[[Template:SUBPAGENAMEE]] | ||
<includeonly> | <includeonly> | ||
<!-- Categories/interwikis for the template itself --> | <!-- Categories/interwikis for the template itself --> |
Revision as of 04:00, 26 April 2016
This template was copied from Template:BASEPAGENAME on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
- 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
- Use
{{msg:BASEPAGENAME}}
inplace of{{BASEPAGENAME}}
to make use of the same functionality as the magic-word using a template with same name if it exists.
code | result | |
---|---|---|
input | Template:(((1|{{FULLPAGENAME}}}}}
|
Template:BASEPAGENAME/doc
|
Tinput | Template:(((1|{{FULLPAGENAME}}/1 1/2 2}}}
|
Template:BASEPAGENAME/doc/1 1/2 2
|
NAMESPACE | {{NAMESPACE}}
|
Template
|
PAGENAME | {{PAGENAME:input }}
|
BASEPAGENAME/doc
|
{{PAGENAME:Tinput }}
|
BASEPAGENAME/doc/1 1/2 2
| |
#titleparts: |1 | {{#titleparts:{{PAGENAME:input }}|1}}
|
BASEPAGENAME
|
{{#titleparts:{{PAGENAME:Tinput }}|1}}
|
BASEPAGENAME
| |
#titleparts: |-1 | {{#titleparts:{{PAGENAME:input }}|-1}}
|
BASEPAGENAME
|
{{#titleparts:{{PAGENAME:Tinput }}|-1}}
|
BASEPAGENAME/doc/1 1
| |
BASEPAGENAME | {{BASEPAGENAME:input}}
|
BASEPAGENAME
|
{{BASEPAGENAME:Tinput}}
|
BASEPAGENAME/doc/1 1
| |
msg:BASEPAGENAME | {{msg:BASEPAGENAME:input}}
|
BASEPAGENAME
|
{{msg:BASEPAGENAME:Tinput}}
|
BASEPAGENAME/doc/1 1
|
- See also