Diferencia entre revisiones de «Minecraft Wiki/style»

De WikiMinecraft
Saltar a: navegación, buscar
m (Desprotegió «Minecraft Wiki/style»)
(Página blanqueada)
 
Línea 1: Línea 1:
<includeonly>| {{#if: {{{id|}}} | id="{{{id}}}" }} {{#if: {{{span|}}} | colspan="{{{span}}}" }} style="background: #FCFCFC; border: 1px solid #CCC; vertical-align: top; width: 33%; {{{style|}}}" |
 
{{#if: {{{header|}}}
 
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; {{{headerstyle|}}}">{{
 
#if: {{{image|}}}
 
| <div style="float: right; margin-left: 6px">[[File:{{{image}}}|48px|{{#if: {{{link|}}} | link={{{link}}} }}]]</div>
 
}} {{{header}}}</div>
 
}}
 
<div {{#if: {{{class|}}} | class="{{{class}}}" }} style="margin: 0.5em 0.8em; {{{contentstyle|}}}">
 
{{{content}}}
 
</div></includeonly><noinclude>
 
{|
 
| <code>id</code> || set the cell's ID
 
|-
 
| <code>span</code> || set the cell's column span
 
|-
 
| <code>style</code> || add styling to the cell
 
|-
 
| <code>header</code> || add a header
 
|-
 
| <code>headerstyle</code> || add styling to the header
 
|-
 
| <code>image<code> || add an image to the header
 
|-
 
| <code>link</code> || add a link to the image
 
|-
 
| <code>content</code> || the content in the cell
 
|-
 
| <code>class</code> || add a class to the content
 
|-
 
| <code>contentstyle</code> || add styling to the content
 
|}
 
  
[[Category:Formatting templates]]
 

Revisión actual del 03:54 21 abr 2014