Difference between revisions of "Template:MainPageCharacter/doc"
(Created page with "{{MainPageCharacter | articlename = Kikuchiyo | name = Kikuchiyo | image = Kikuchiyo face.png | link = }} <pre> {{MainPageCharacter | articlename =...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{MainPageCharacter | {{MainPageCharacter | ||
− | | articlename = | + | | articlename = :Category:Hotels |
− | | name = | + | | name = Hotels |
− | | image = | + | | image = Placeholder.jpg |
− | | | + | | bgcolor = orange |
+ | | namebgcolor = orange | ||
+ | | fontsize = 18px | ||
+ | }} | ||
+ | <pre> | ||
+ | {{MainPageCharacter | ||
+ | | articlename = :Category:Hotels | ||
+ | | name = Hotels | ||
+ | | image = Placeholder.jpg | ||
+ | | bgcolor = orange | ||
+ | | namebgcolor = orange | ||
+ | | fontsize = 18px | ||
}} | }} | ||
− | + | ====Usage==== | |
{{MainPageCharacter | {{MainPageCharacter | ||
| articlename = | | articlename = | ||
| name = | | name = | ||
| image = | | image = | ||
− | |||
}} | }} | ||
</pre> | </pre> | ||
====Usage==== | ====Usage==== | ||
− | *'''''articlename''''' – The name of the article (in this case, [[ | + | *'''''articlename''''' – The name of the article (in this case, [[Hotels]]). This will also be the article which will open once the user clicks on the title or image. |
*'''''name''''' – Display name (ie., the name you want the template to display) | *'''''name''''' – Display name (ie., the name you want the template to display) | ||
*'''''image''''' – File name | *'''''image''''' – File name | ||
+ | : Advanced Parameters | ||
+ | *'''''bgcolor''''' – Set background color for the image (default to black). | ||
+ | *'''''namebgcolor''''' – Set background color for the title (default to black). | ||
+ | *'''''fontsize''''' – Set font size for the title (default to x-small). | ||
+ | *'''''img-width''''' – Set div width (default to 155px). | ||
+ | *'''''img-height''''' – Set div height (default to 125px). | ||
+ | *'''''img-size''''' – Set image size (default to 155px). |
Latest revision as of 22:43, 7 August 2018
{{MainPageCharacter | articlename = :Category:Hotels | name = Hotels | image = Placeholder.jpg | bgcolor = orange | namebgcolor = orange | fontsize = 18px }} ====Usage==== {{MainPageCharacter | articlename = | name = | image = }}
Usage
- articlename – The name of the article (in this case, Hotels). This will also be the article which will open once the user clicks on the title or image.
- name – Display name (ie., the name you want the template to display)
- image – File name
- Advanced Parameters
- bgcolor – Set background color for the image (default to black).
- namebgcolor – Set background color for the title (default to black).
- fontsize – Set font size for the title (default to x-small).
- img-width – Set div width (default to 155px).
- img-height – Set div height (default to 125px).
- img-size – Set image size (default to 155px).