Warning
This is an unofficial archive of PsychonautWiki as of 2025-08-11T15:14:44Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.

Template:Transclude: Difference between revisions

From PsychonautWiki Archive
Jump to navigation Jump to search
iw>Happy-melon
m Protected Template:Transclude: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))
 
>PJosepherum
m 1 revision
 
(No difference)

Latest revision as of 00:01, 7 May 2014

Template:{{{1}}}

Documentation icon Documentationviewedithistory⧼Code-rev-purge-link⧽

This documentation is transcluded from Template:Transclude/doc.

This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.

The most prominent use of this template is in the menu used at the top of each {{navbox}}, though it is used in other templates as well, such as {{usbk}}.

Usage

  • {{transclude| Template:Foo }}Template:Foo
  • {{transclude| Category:Foo }}Category:Foo
  • {{transclude| Foo }}Template:Foo
  • {{transclude| :Foo }}Foo
  • {{transclude| :File:Foo }}File:Foo

See also


<templatedata> {

       "description": "This template resolves page names as they would be handled by MediaWiki's template-transclusion process. It thereby removes ambiguity when doing other things with template pagenames, e.g. linking.",
       "params": {
               "1": {
                       "label": "Page name",
                       "description": "The name of the page you are trying to link to",
                       "type": "string",
                       "required": true
               }
       }

}

</templatedata>