1,071
edits
Changes
m
fixing functionality output
: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>
::Or <code><nowiki>{{</nowiki>msg:{{msg:BASEPAGENAME}}:<nowiki>|</nowiki><var>Pagename</var><nowiki>}}</nowiki></code> inplace of <code><nowiki>{{</nowiki>{{msg:BASEPAGENAME}}:<var>Pagename</var><nowiki>}}</nowiki></code> to provide a pagename to operate upon.
::If no <var>Pagename</var> is provided it defaults to <span style="color:teal;">{{((}}FULLPAGENAME{{))}}</span>.
|-
! rowspan="2" | msg:{{msg:BASEPAGENAME}}
| <code>{{((}}msg:{{msg:BASEPAGENAME}}:<nowiki>|</nowiki><var>input</var>{{))}}</code>| <code>{{msg:{{msg:BASEPAGENAME}}:|{{FULLPAGENAME}} }}</code>
|-
| <code>{{((}}msg:{{msg:BASEPAGENAME}}:<nowiki>|</nowiki><var>Tinput</var>{{))}}</code>| <code>{{msg:{{msg:BASEPAGENAME}}:|{{FULLPAGENAME}}/1 1/2 2 }}</code>
|}