Mudanças entre as edições de "Template link with bold"

De Wiki Coolab
Ir para navegação Ir para pesquisar
EquationNote>SMcCandlish
(twiddle)
EquationNote>Benwing
(add sane handling of case where no params given (behave like {{Tl|Tlu}} in showing our own page name); add comments)
Linha 1: Linha 1:
<includeonly><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}'''[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]'''<!--
+
<includeonly><nowiki>{{</nowiki>{{<!--                  opening brace
 +
-->#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--      subst prefix, if called for
 +
-->'''<!--                                                  begin boldface
 +
-->[[{{{LANG|}}}{{{SISTER|}}}<!--              begin link, add any LANG and SISTER prefixes
 +
-->{{#if:{{{1|}}}|{{ns:Template}}:{{{1|}}}|{{FULLPAGENAME}}}}<!--  specify page to link to
 +
-->|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}]]<!--  surface text of link
 +
-->'''<!--                                                 end boldface; add the remaining parameters
 
-->{{#if:{{{2|}}}|
 
-->{{#if:{{{2|}}}|
 
&#124;{{{2}}}
 
&#124;{{{2}}}

Edição das 05h08min de 10 de maio de 2011


Explanation

This template is a copy of {{tlxb}} except that it uses normal text instead of non-proportional, monospaced text:

I.e., it's a {{tl}}-style template-link tag that boldfaces the template name, and accepts parameters. It's main use is in distinguishing between multiple templates with similar names, in documentation, talk page discussions, etc.

It is otherwise precisely the same code (as of 21:29, 28 January 2010 (UTC)) as {{tlx}}, and thus uses its documentation, below.

Erro de script: Nenhum módulo desse tipo "documentation".