Template:Item: Difference between revisions

Jump to navigation Jump to search
Using new infobox markup
No edit summary
(Using new infobox markup)
Line 1: Line 1:
{|style="width:445px; border:2px solid #FCC0E7; text-align:center; color:#000; {{R|5}}" cellspacing="0" cellpadding="3"
<infobox>
|-
<title source="name"><default>There is no name.</default></title>
|!style="width:64px; {{R/bottom|5}}|'''{{{name|There is no name.}}}'''
<title source="title"><default>There is no title.</default></title>
!style="width:120px; background-color:#FCC0E7; {{R/bottom|5}}"|{{{title|There is no 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>
|rowspan="2" style="width:128px; height:128px;"|[[File:{{{item|item_placeholder.png}}}|64px|center]]
</infobox>
!style="width:256px; font-size:8pt; text-align:left;"| {{{explain|There is no description.}}}
<noinclude>
|}<noinclude>[[Category:Templates|Card]]</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>
Bureaucrats, content-moderator, emailconfirmed, Interface administrators, rollback, Suppressors, Administrators, threadmoderator
24,858

edits

Navigation menu