Template:Country showdata: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(major update to help better document these templates)
(doc shortname alias right after alias)
Line 18: Line 18:
| {{#if: {{{alias|}}} | <tt>{{{alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}
| {{#if: {{{alias|}}} | <tt>{{{alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}
| Main article name ([[{{{alias}}}]])
| Main article name ([[{{{alias}}}]])
|-
| <tt>flag alias</tt>
| {{#if: {{{flag alias|}}} | <tt>{{{flag alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}
| Image name ([[:Image:{{{flag alias}}}]], shown at right)
{{#if: {{{shortname alias|}}} |
{{#if: {{{shortname alias|}}} |
<tr>
<tr>
Line 28: Line 24:
<td>''(optional)'' Display name to be used for the wikilink,<br/>if <tt>alias</tt> is a disambiguation page, for example</td>
<td>''(optional)'' Display name to be used for the wikilink,<br/>if <tt>alias</tt> is a disambiguation page, for example</td>
</tr>
</tr>
}}<!--
}}
|-
-->{{#if: {{{alt attribute|}}} |
| <tt>flag alias</tt>
| {{#if: {{{flag alias|}}} | <tt>{{{flag alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}
| Image name ([[:Image:{{{flag alias}}}]], shown at right)
{{#if: {{{alt attribute|}}} |
<tr>
<tr>
<td><tt>alt attribute</tt></td>
<td><tt>alt attribute</tt></td>