Difference between revisions of "Template:MainPageCharacter/doc"

From The Aruba Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{MainPageCharacter
 
{{MainPageCharacter
  | articlename = Hotels
+
  | articlename = :Category:Hotels
 
  | name        = Hotels
 
  | name        = Hotels
 
  | image      = Placeholder.jpg  
 
  | image      = Placeholder.jpg  
  | link        =
+
  | link        =  
 
  | bgcolor    = orange
 
  | bgcolor    = orange
 
  | namebgcolor = orange
 
  | namebgcolor = orange
Line 10: Line 10:
  
 
<pre>
 
<pre>
 +
{{MainPageCharacter
 +
| articlename = :Category:Hotels
 +
| name        = Hotels
 +
| image      = Placeholder.jpg
 +
| link        =
 +
| bgcolor    = orange
 +
| namebgcolor = orange
 +
| fontsize    = 18px
 +
}}
 +
 +
====Usage====
 
{{MainPageCharacter
 
{{MainPageCharacter
 
  | articlename =  
 
  | articlename =  
Line 19: Line 30:
  
 
====Usage====
 
====Usage====
*'''''articlename''''' – The name of the article (in this case, [[Hotels]])
+
*'''''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

Revision as of 20:09, 26 July 2018

Placeholder.jpg
Hotels


{{MainPageCharacter
 | articlename = :Category:Hotels
 | name        = Hotels
 | image       = Placeholder.jpg 
 | link        = 
 | bgcolor     = orange
 | namebgcolor = orange
 | fontsize    = 18px
}}

====Usage====
{{MainPageCharacter
 | articlename = 
 | name        = 
 | image       = 
 | link        =
}}

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).