Difference between revisions of "Template:Infobox Robot"

From Robowiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
|-
 
|-
 
|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>}}}
 
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}{{{imagesize|{{!}}300px{{!}} }}} ]]<br>{{{caption<includeonly>|</includeonly>}}}
 
|-
 
|-
| {{{author{{{author|Author}}}|{{{then|}}}}}}
+
| {{If|test=author|then=a|else=b}}
 
|-
 
|-
 
| colspan="2" style="vertical-align: top; font-size: smaller;" | {{{footnotes|}}}
 
| colspan="2" style="vertical-align: top; font-size: smaller;" | {{{footnotes|}}}

Revision as of 12:41, 12 November 2007

Infobox Robot
[[Image:{{{image}}}|300px| ]]
{{{caption}}}
a



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       = 
| targeting     = 
}}

Other Notes

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