Diferencia entre revisiones de «Plantilla:Transclude»
m (Protected Template:Transclude: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
m (Texto reemplazado: « » por « ») |
||
| (No se muestran 3 ediciones intermedias de 2 usuarios) | |||
| Línea 2: | Línea 2: | ||
|#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg "User:Foo" --> | ||
|{{ns:0}} = | |{{ns:0}} = | ||
| − | + | {{#ifeq: {{NAMESPACE: {{{1}}} }} | {{NAMESPACE: Template{{{1}}} }} | |
| − | + | | Template:{{{1}}} <!-- no leading colon, eg "Foo" --> | |
| − | + | | {{PAGENAME: {{{1}}} }} <!-- leading colon, eg ":Foo", so we want the article --> | |
| − | + | }} | |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
