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%;">
+
<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.
<tr><th colspan="2" style="text-align: center; background-color: #cccccc;">{{{name|Infobox}}}</th></tr>
+
 
<tr><td>{{{legal_name}}}</td></tr>
+
Fields are:
<tr><td>{{{country}}}</td></tr>
+
 
<tr><td>{{{robots}}}</td></tr>
+
* <code>name</code>
</table></includeonly>
+
* <code>country</code>
<noinclude>
+
* <code>website</code>
This is the template for a basic infobox. [[Category:Templates]]
+
* <code>robots</code>
</noinclude>
+
[[Category:Templates]]</noinclude>

Revision as of 05:22, 24 April 2024

This is the template for the company infobox.

Fields are:

  • name
  • country
  • website
  • robots