Editing Template:Tlg
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | + | Templates tlc, tld, tlf have the following wrapping everything; do we need it? | |
− | + | <span style="white-space:nowrap;"> | |
− | + | --><!-- | |
− | + | -- begin tt style if tt=yes given | |
− | + | -->{{#if:{{{tt|}}}|<code>}}<!-- | |
− | + | -- begin code style if code=yes given | |
− | + | -->{{#if:{{{code|}}}|<code>}}<!-- | |
− | + | -- opening brace unless braceinside=yes | |
− | + | -->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- | |
− | + | -- add subst prefix, if subst=yes given | |
− | + | -->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!-- | |
− | + | -- begin boldface if bold=yes given | |
− | + | -->{{#if:{{{bold|}}}|'''}}<!-- | |
− | + | -- begin link if not nolink=yes; add any LANG and SISTER prefixes | |
− | + | -->{{#if:{{{nolink|}}}||{{!(}}{{!(}}{{{LANG|}}}{{{SISTER|}}}<!-- | |
− | + | -- specify page to link to (unless nolink=yes) | |
− | + | -->{{#if:{{{1|}}}|{{#if:{{{anypage|}}}||{{ns:Template}}:}}{{{1|}}}|{{FULLPAGENAME}}}}{{!}}}}<!-- | |
− | + | -- opening brace if braceinside=yes | |
− | + | -->{{#if:{{{braceinside|}}}|<nowiki>{{</nowiki>}}<!-- | |
− | + | -- surface text of link | |
− | + | -->{{{alttext|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}}}}<!-- | |
− | + | -- closing brace if braceinside=yes | |
− | + | -->{{#if:{{{braceinside|}}}|<nowiki>}}</nowiki>}}<!-- | |
− | + | -- end of link, unless nolink=yes | |
− | + | -->{{#if:{{{nolink|}}}||]]}}<!-- | |
− | + | -- end boldface if bold=yes | |
− | + | -->{{#if:{{{bold|}}}|'''}}<!-- | |
− | + | -->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!-- | |
− | + | -- add the remaining parameters | |
− | + | -->{{#if:{{{2|}}}| | |
− | + | |{{{2}}} | |
− | + | }}<!-- | |
− | + | -->{{#if:{{{3|}}}| | |
− | + | |{{{3}}} | |
− | + | }}<!-- | |
− | + | -->{{#if:{{{4|}}}| | |
− | + | |{{{4}}} | |
− | + | }}<!-- | |
− | + | -->{{#if:{{{5|}}}| | |
− | + | |{{{5}}} | |
− | + | }}<!-- | |
− | + | -->{{#if:{{{6|}}}| | |
− | + | |{{{6}}} | |
− | + | }}<!-- | |
− | + | -->{{#if:{{{7|}}}| | |
− | + | |{{{7}}} | |
− | + | }}<!-- | |
− | + | -->{{#if:{{{8|}}}| | |
+ | |{{{8}}} | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{9|}}}| | ||
+ | |{{{9}}} | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{10|}}}| | ||
+ | |{{{10}}} | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{11|}}}| | ||
+ | |{{{11}}} | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{12|}}}| | ||
+ | |''...'' | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{italic|}}}|</span>}}<!-- | ||
+ | -- closing brace unless braceinside=yes | ||
+ | -->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- | ||
+ | -- end code style if code=yes given | ||
+ | -->{{#if:{{{code|}}}|</code>}}<!-- | ||
+ | -- end tt style if tt=yes given | ||
+ | -->{{#if:{{{tt|}}}|</code>}}<!-- | ||
+ | -- end | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |