Difference between revisions of "Template:Moped Brand"

From Moped Wiki
Jump to: navigation, search
m (fixed category alphabetization...doh)
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" align = "right" style="background:#F5F5F5; width: 20em; font-size: 90%; border: solid 1px #FFD700"
+
{| class="infobox" align = "right" style="background:#F5F5F5; font-size: 90%; border: solid 1px #FFD700; width: 17em;"
 
|-
 
|-
! colspan="2" style="font-size: larger; text-align: center;" | {{{name}}}
+
! colspan="2" style="font-size: larger; text-align: center; width: 17em;" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
|colspan="2" style="font-size: larger; text-align: center;" | {{{logo}}}
+
|colspan="2" style="font-size: larger; text-align: center" | {{{logo|}}}
 
|-
 
|-
| '''Models''' || {{{models}}}
+
|{{#if:{{{models|}}}|'''Models'''}} || {{{models|}}}
 
|-
 
|-
|'''Country''' || {{{country}}}
+
|{{#if:{{{country|}}}|'''Country'''}} || {{{country|}}}
|}
+
|-
 +
|{{#if:{{{website|}}}|'''Website'''}} || {{{website|}}}
 +
|}<noinclude>
  
<noinclude>[[Category:Templates|Moped Brand]]</noinclude>
+
{{Moped Brand/doc}}
 +
[[Category:Templates|Moped Brand]]</noinclude>

Latest revision as of 00:26, 29 May 2018

Moped Brand
Documentation icon Documentation

This template adds an infobox to Moped Brand pages.

Usage

{{Moped Brand
|name = 
|logo = [[File:|150px]]
|models = 
|country = 
|website = 
}}

Example

FooPed
7107-2T.jpg
Models FooPed 7107
FooPed 8108
FooPed 9109
Country Fooland
Website example.com
{{Moped Brand
|name = FooPed
|logo = [[File:7107-2T.jpg|150px]]
|models = FooPed 7107<br />FooPed 8108<br />FooPed 9109
|country = Fooland
|website = [//www.example.com example.com]
}}