Differenze tra le pagine "Minecraft Wiki/style" e "Minecraft Wiki/copiapermodifica/style"

(Differenze fra le pagine)
Pagina 1
Pagina 2
m
 
m
 
Riga 12: Riga 12:
 
<div style="line-height: 100%; text-align: right; font-size: 85%;">[{{fullurl:Special:ComparePages|page1={{urlencode:Minecraft Wiki/style}}&page2={{urlencode:Minecraft Wiki/copiapermodifica/style}}}} Diff with live page]</div>
 
<div style="line-height: 100%; text-align: right; font-size: 85%;">[{{fullurl:Special:ComparePages|page1={{urlencode:Minecraft Wiki/style}}&page2={{urlencode:Minecraft Wiki/copiapermodifica/style}}}} Diff with live page]</div>
 
}}</noinclude>
 
}}</noinclude>
}}<includeonly><div id="{{{id|}}}" class="fp-section {{{class|}}}" style="{{{style|}}}">
+
}}<includeonly>| id="{{{id|}}}" class="{{{class|}}}" colspan="{{{span|}}}" rowspan="{{{rowspan|}}}" style="background-color: #FCFCFC; border: 1px solid #ccc; vertical-align: top; width: {{{width|33%}}};{{{style|}}};" |
 
{{ #if: {{{header|}}}
 
{{ #if: {{{header|}}}
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%; background-image: {{FileUrl|GrassBackground.png}};{{{headerstyle|}}}">{{ #if: {{{image|}}}
+
| <div class="mcwiki-header" style="margin: 3px; font-weight: bold; text-align: center; color: white; font-size: 120%; background-image: {{FileUrl|GrassBackground.png}}; {{{headerstyle|}}};">{{ #if: {{{image|}}}
 
   | <div style="float: right; margin-left: 6px;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div>
 
   | <div style="float: right; margin-left: 6px;">[[File:{{{image}}}|48px{{ #if: {{{link|}}} | {{!}}link={{{link}}} }}]]</div>
 
   }} {{{header}}}</div>
 
   }} {{{header}}}</div>
 
}}
 
}}
<div id="{{{contentid|}}}" class="{{{contentclass|}}}" style="margin: 0.5em 0.8em;{{{contentstyle|}}}">
+
<div {{ #if: {{{contentclass|}}} | class="{{{contentclass}}}" }} style="margin: 0.5em 0.8em; {{{contentstyle|}}};">
 
{{{content}}}
 
{{{content}}}
</div>
 
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
 
{{documentazione|content=
 
{{documentazione|content=
Riga 33: Riga 32:
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|class}} {{!!}} set the cell's class
 
{{!}} {{p|class}} {{!!}} set the cell's class
 +
{{!}}-
 +
{{!}} {{p|span}} {{!!}} set the cell's column span
 +
{{!}}-
 +
{{!}} {{p|width}} {{!!}} adjust the cell's width
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|style}} {{!!}} add styling to the cell
 
{{!}} {{p|style}} {{!!}} add styling to the cell
Riga 45: Riga 48:
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|content}} {{!!}} the content in the cell
 
{{!}} {{p|content}} {{!!}} the content in the cell
{{!}}-
 
{{!}} {{p|contentid}} {{!!}} add an id to the content
 
 
{{!}}-
 
{{!}}-
 
{{!}} {{p|contentclass}} {{!!}} add a class to the content
 
{{!}} {{p|contentclass}} {{!!}} add a class to the content