Template:Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Using new infobox markup) |
||
Line 1: | Line 1: | ||
<infobox> | |||
<title source="name"><default>There is no name.</default></title> | |||
<title source="title"><default>There is no title.</default></title> | |||
<data source="item"><label>item</label><default>item_placeholder.png</default></data> | |||
<data source="explain"><label>[[File:{{{item|item_placeholder.png}}}|64px|center]]</label><default>There is no description.</default></data> | |||
</infobox> | |||
<noinclude> | |||
| | == Usage & preview == | ||
Type in this: | |||
<pre> | |||
{{Item | |||
|name=Soccer Ball | |||
|item=Soccer Ball.png | |||
|title=Karate Memory #1 | |||
|explain=As a child, I dreamed of being<br>a soccer player. My father<br>wouldn't hear of it. "You must<br>master karate before you<br>leave my house!" I still live<br>in the basement.}} | |||
</pre> | |||
to see this: | |||
{{Item | |||
|name=Soccer Ball | |||
|item=Soccer Ball.png | |||
|title=Karate Memory #1 | |||
|explain=As a child, I dreamed of being<br>a soccer player. My father<br>wouldn't hear of it. "You must<br>master karate before you<br>leave my house!" I still live<br>in the basement.}} | |||
[{{fullurl:{{ns:Template}}:{{PAGENAME}}}}?action=purge Click here to refresh the preview above] | |||
</noinclude> |
Revision as of 12:31, 23 August 2020
Usage & preview
Type in this:
{{Item |name=Soccer Ball |item=Soccer Ball.png |title=Karate Memory #1 |explain=As a child, I dreamed of being<br>a soccer player. My father<br>wouldn't hear of it. "You must<br>master karate before you<br>leave my house!" I still live<br>in the basement.}}
to see this: