Difference between revisions of "Template:Infobox company"

From Humanoid Robots Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
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 = Website
* <code>robots</code>
+
| value3 = {{#if: {{{website_link|}}} | [{{{website_link}}} Website] }}
[[Category:Templates]]</noinclude>
+
| key4 = Robots
 +
| value4 = {{{robots|}}}
 +
}}

Latest revision as of 07:32, 24 April 2024

{{{name}}}
Name{{{name}}}