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
mNo edit summary
m (4 revisions imported: Import from https://sims.wikia.com)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
*<code><nowiki>{{transclude| :Foo }}</nowiki></code> &rarr; '''{{transclude|:Foo}}'''
*<code><nowiki>{{transclude| :Foo }}</nowiki></code> &rarr; '''{{transclude|:Foo}}'''
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> &rarr; '''{{transclude|:File:Foo}}'''
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> &rarr; '''{{transclude|:File:Foo}}'''

===Credits===
This template was taken from the [[wikipedia:Template:Transclude|English Wikipedia]].


<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.