Template:InfoboxProductLine: Difference between revisions

m clean up documentation
add product logo
Line 3: Line 3:


     <div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div>
     <div style="font-size: 2em; text-align: center; border-bottom: 1px solid #ccc; padding-bottom: .25em;"> {{{Title|{{PAGENAME}}}}} </div>
    <div style="text-align: center">[[File:{{{Logo}}}|200px]]</div>


     <table style="width:100%;">
     <table style="width:100%;">
Line 45: Line 47:
| In Production = Yes
| In Production = Yes
| Official Website = somewebsite.somewhere
| Official Website = somewebsite.somewhere
| Logo=
}}
}}
add this to the page with the text you wish to appear on the box when using the source editor.
add this to the page with the text you wish to appear on the box when using the source editor.
Line 88: Line 91:
"type": "string",
"type": "string",
"description": "Website of product if it exists. (use wayback machine if necessary)",
"description": "Website of product if it exists. (use wayback machine if necessary)",
"required": true
},
"Logo": {
"description": "The logo accociated with this product. If there is no specific logo a picture of the product.",
"example": "filename.[jpg|png|svg]",
"type": "wiki-file-name",
"autovalue": "QuestionMark.svg",
"default": "QuestionMark.svg",
"required": true
"required": true
}
}