Difference between revisions of "Template:Infobox Robot"

From Robowiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{| style="text-align: justify; font-size: 70%; float: right; clear: right; border: 1px solid #aaa; width:{{{box_width|18em}}};" cellspacing="5"
 
{| style="text-align: justify; font-size: 70%; float: right; clear: right; border: 1px solid #aaa; width:{{{box_width|18em}}};" cellspacing="5"
 
|-
 
|-
 +
 
|colspan="2" style="padding: 0; text-align:center; font-size: larger; background-color:{{{bgcolour|#c0c0c0}}}; color:#000000;" | '''{{{name|{{PAGENAME}}}}}'''
 
|colspan="2" style="padding: 0; text-align:center; font-size: larger; background-color:{{{bgcolour|#c0c0c0}}}; color:#000000;" | '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}{{{imagesize|{{!}}300px{{!}} }}} ]]<br>{{{caption<includeonly>|</includeonly>}}}
+
 
 +
{{If|test={{{image|}}}|then=
 +
{{!}} colspan="2" style="text-align:center;" {{!}}[[Image:{{{image}}}{{{imagesize|{{!}}300px{{!}} }}} ]]<br/>{{{caption<includeonly>|</includeonly>}}} }}
 +
<noinclude>
 +
|-
 +
| colspan="2" style="text-align:center;" |[[Image:{{{image}}}{{{imagesize|{{!}}300px{{!}} }}} ]]<br/>{{{caption<includeonly>|</includeonly>}}} }}
 +
</noinclude>
 +
|-
  
 
{{If|test={{{author|}}}|then=
 
{{If|test={{{author|}}}|then=
{{!}}-
+
{{!}} style="text-align: right;" {{!}}'''Author'''{{!}}{{!}} {{{author<includeonly>|</includeonly>}}} }}
{{!}} style="text-align: right;" {{!}}Author{{!}}{{!}} {{{author<includeonly>|</includeonly>}}} }}
+
<noinclude>
 +
|-
 +
| style="text-align: right;" | '''Author''' || {{{author<includeonly>|</includeonly>}}}
 +
</noinclude>
 +
|-
  
 
{{If|test={{{license|}}}|then=
 
{{If|test={{{license|}}}|then=
{{!}}-
+
{{!}} style="text-align: right;" {{!}}'''License'''{{!}}{{!}} {{{license<includeonly>|</includeonly>}}} }}
{{!}} style="text-align: right;" {{!}}License{{!}}{{!}} {{{license<includeonly>|</includeonly>}}} }}
+
<noinclude>
 +
|-
 +
| style="text-align: right;" | '''License''' || {{{license<includeonly>|</includeonly>}}}
 +
</noinclude>
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 13:15, 12 November 2007

Infobox Robot
[[Image:{{{image}}}|300px| ]]
{{{caption}}} }}
Author {{{author}}}
License {{{license}}}



Usage

The infobox may be added by pasting the template as shown below into an article. Only the name and birthdate parameters are required.

{{Infobox Robot
| bgcolour      = 
| name          = 
| image         = 
| imagesize     = 
| caption       = 
| author        = 
| license       = 
}}

Other Notes

Since I cannot access the common.css stuff, I put the style info right into the table T_T. MediaWiki:Common.css