Template:Transclude/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>Meno25 (update) |
m (4 revisions imported: Import from https://sims.wikia.com) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude><!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->▼
▲<!-- 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.
Line 15 ⟶ 13:
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> → '''{{transclude|:File:Foo}}'''
===
This template was taken from the [[wikipedia:Template:Transclude|English Wikipedia]].
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:
</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.