Difference between revisions of "Template:Country showdata"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(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>

Revision as of 19:43, 7 August 2007

This template is used for documenting country data templates.