Template:Country showdata: Difference between revisions

doc shortname alias right after alias
(major update to help better document these templates)
(doc shortname alias right after alias)
Line 18:
| {{#if: {{{alias|}}} | <tt>{{{alias}}}</tt> | <span style="color:red">'''undefined!'''</span> }}
| 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|}}} |
<tr>
Line 28 ⟶ 24:
<td>''(optional)'' Display name to be used for the wikilink,<br/>if <tt>alias</tt> is a disambiguation page, for example</td>
</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>
<td><tt>alt attribute</tt></td>
Anonymous user