Template:Transclude/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>A morris
m (1 revision: documentation)
m (4 revisions imported: Import from https://sims.wikia.com)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{Documentation subpage}}
{{high-risk| 6,200,000+ }}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->


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.
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.
Line 15: Line 13:
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> &rarr; '''{{transclude|:File:Foo}}'''
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> &rarr; '''{{transclude|:File:Foo}}'''


=== See also ===
===Credits===
This template was taken from the [[wikipedia:Template:Transclude|English Wikipedia]].
* {{tl|Linked}}
* {{tl|Category title}}
* {{tl|File title}}


<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Wikipedia formatting and function templates|Transclude]]
[[Category:General wiki templates|Transclude]]


[[ar:قالب:Transclude]]
[[et:Mall:Transclude]]
[[fa:الگو:Transclude]]
[[gu:ઢાંચો:Transclude]]
[[id:Templat:Transclude]]
[[ja:Template:Transclude]]
[[pt:Predefinição:Transclude]]
</includeonly>
</includeonly>

Latest revision as of 22:12, 23 February 2019


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.

Key usage is in navboxes' view, discuss, edit (v,d,e) menu.

Usage[edit source]

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

Credits[edit source]

This template was taken from the English Wikipedia.