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: | Line 1: | ||
⚫ | |||
{{Documentation subpage}} |
|||
{{high-risk| 6,200,000+ }} |
|||
⚫ | |||
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> → '''{{transclude|:File:Foo}}''' |
*<code><nowiki>{{transclude| :File:Foo }}</nowiki></code> → '''{{transclude|:File:Foo}}''' |
||
=== |
===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: |
[[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.