Template:Character Card/doc: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
(Documentation (Template:Character_Card))
 
(imagesize added)
Line 3: Line 3:
|name=Type the name here
|name=Type the name here
|image=File:Lea.png
|image=File:Lea.png
|imagesize=300px
|description=Type basic description here.
|description=Type basic description here.
}}
}}
Line 11: Line 12:
|name=Type the name here
|name=Type the name here
|image=File:Lea.png
|image=File:Lea.png
|imagesize=300px
|description=Type basic description here.
|description=Type basic description here.
}}</pre>
}}</pre>


The above produces the character card you see to the right. Note that the real code behind this template is hidden from view until it is included. Also note that if you leave off any of the parameters, then they will be filled with a question mark. Feel free to change this yourself, or leave a message on the talk page and I will take a look.
The above produces the character card you see to the right. Note that the real code behind this template is hidden from view until it is included. Also note that if you leave off any of the parameters, then they will be filled with a question mark. Feel free to change this yourself, or leave a message on the talk page and I will take a look.
(imagesize is optional - the default size is 300px)
{{doc/end}}
{{doc/end}}

Revision as of 21:29, 25 September 2016

File:Template-info.svg Template Documentation

This template is for use on every page that is a Character. Here's how you can use it:

{{Character_Card
|name=Type the name here
|image=File:Lea.png
|imagesize=300px
|description=Type basic description here.
}}

The above produces the character card you see to the right. Note that the real code behind this template is hidden from view until it is included. Also note that if you leave off any of the parameters, then they will be filled with a question mark. Feel free to change this yourself, or leave a message on the talk page and I will take a look.

(imagesize is optional - the default size is 300px)