Difference between revisions of "Template:Infobox company"

From Humanoid Robots Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><table class="infobox" style="width: 300px; font-size: 90%;"><tr><th colspan="2" style="text-align: center; background-color: #cccccc;">{{{name}}}</th></tr>{{#if: {{{country|}}} | <tr><th>Country</th><td>{{{country}}}</td></tr> }}{{#if: {{{website|}}} | <tr><th>Website</th><td>{{{website}}}</td></tr> }}{{#if: {{{robots|}}} | <tr><th>Robots</th><td>{{{robots}}}</td></tr> }}</table></includeonly><noinclude>This is the template for the company infobox.
+
{{infobox
 
+
| name = {{{name}}}
Fields are:
+
| key1 = Name
 
+
| value1 = {{{name}}}
* <code>name</code>
+
| key2 = Country
* <code>country</code>
+
| value2 = {{{country}}}
* <code>website</code>
+
| key3 = {{#if: {{{website|}}} | Website }}
* <code>robots</code>
+
| value3 = [{{{website}}} Website]
[[Category:Templates]]</noinclude>
+
| key4 = Robots
 +
| value4 = {{{robots}}}
 +
}}

Revision as of 07:21, 24 April 2024

{{{name}}}
Name{{{name}}}
Country{{{country}}}
[{{{website}}} Website]
Robots{{{robots}}}