Difference between revisions of "Template:Infobox settlement/link"
Jump to navigation
Jump to search
imported>Plastikspork (New subtemplate to simplify parent code) |
imported>WOSlinker m (Changed protection level of Template:Infobox settlement/link: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
-->|[[{{{link}}}|{{{type}}}]]<!-- | -->|[[{{{link}}}|{{{type}}}]]<!-- | ||
-->|{{#ifexist:{{{type}}} of {{PAGENAME}}<!-- | -->|{{#ifexist:{{{type}}} of {{PAGENAME}}<!-- | ||
| − | -->|[[{{{type}}} {{PAGENAME}}|{{{type|}}}]]<!-- | + | -->|[[{{{type}}} of {{PAGENAME}}|{{{type|}}}]]<!-- |
-->|{{#if:{{{name|}}}<!-- | -->|{{#if:{{{name|}}}<!-- | ||
-->|{{#ifexist:{{{type}}} of {{{name}}}<!-- | -->|{{#ifexist:{{{type}}} of {{{name}}}<!-- | ||
| Line 12: | Line 12: | ||
-->}}<!-- | -->}}<!-- | ||
-->}}<noinclude> | -->}}<noinclude> | ||
| − | + | {{documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 11:19, 19 October 2013
{{{type}}}
| 40x40px | This subtemplate is not intended to be used directly |
This subtemplate of {{Infobox settlement}} is used for automatic linking for various image captions. It is not meant to be used directly.
Usage
| Code | Result |
|---|---|
{{Infobox settlement/link}} |
{{{type}}} |
{{Infobox settlement/link|type=Flag}} |
Flag |
{{Infobox settlement/link|type=Flag|link=Template:Infobox settlement}} |
Flag |
{{Infobox settlement/link|type=Flag|name= }} |
Flag |
{{Infobox settlement/link|type=Flag|name=the United States of America}} |
Flag |
See also
bn:টেমপ্লেট:Infobox settlement/link sl:Predloga:Infopolje Naselje/link
| The above documentation is transcluded from Template:Infobox settlement/link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |