Difference between revisions of "Template:Tmbox/sandbox/core"

From Chevy Wiki
Jump to navigation Jump to search
(uploaded "Image:ChevImpalanewlogo.jpg": Importing image file)
m (1 revision)
 
Line 1: Line 1:
<noinclude>{{Template sandbox notice}}<hr/><center>'''{{purge}}''' the Wikipedia cache of this template.<hr/></center></noinclude><!--
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #f8eaba; border: 1px solid #c0c090;
 
{{#ifeq:{{{small|}}}|yes| float: right; clear: both; margin: 4px 0 4px 1em; width: 238px; font-size: 85%; line-height: 1.25em; }}
--><div style="text-align:center;position:relative;white-space:nowrap; {{#if:{{{fontcolor|}}}| color:{{{fontcolor}}};}}">{{{1}}}<!--
{{#switch:{{{type|}}}
| speedy    = border: 2px solid #b22222; background: #fee;
| delete    = border: 2px solid #b22222;
| content    = border: 2px solid #f28500;
| style      = border: 2px solid #f4c430;
| move      = border: 2px solid #9932cc;
| protection    <!-- protection = notice = default -->
| notice         
| #default  = border: 1px solid #c0c090;
}}
{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
  {{#if:{{{image|}}}
  | {{{image}}}
  | [[Image:{{#switch:{{{type|}}}
    | speedy    = Imbox speedy deletion.png
    | delete    = Imbox deletion.png
    | content    = Imbox content.png
    | style      = Imbox style.png
    | move      = Imbox move.png
    | protection = Imbox protection.png
    | notice    <!-- notice = default -->
    | #default  = Imbox notice.png
    }} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}} ]]
  }}</td>
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
  | <!-- No image. -->
  | <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
  }}
}}
</tr>
</table><noinclude>


--><includeonly><!--
=== Sandbox for {{tl|tmbox/core}} ===
-->{{Tnavbar
  | 1 = {{{2}}}
  | {{#ifeq: {{{plain|}}}
      |<!--equals:-->1
      |<!--then:-->plain
      |<!--else:-->mini
    }} = 1
  | {{#if:{{{fontcolor|}}}
      |fontcolor|NOT fontcolor
    }} = {{{fontcolor}}}
  | style = position: absolute; right: 0; top: 0; margin: 0 5px;
 
}}
-->
{{#ifeq:{{{mini|}}}{{{miniv|}}}{{{plain|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
-->|<!--else:
-->This box:&nbsp;<!--
-->}}<!--


-->{{#ifeq:{{{miniv|}}}{{{viewplain|}}}|<!--equals:-->1|<!--then:
Here we can test new code versions. This test template is called from {{tl|tmbox/sandbox}}. See there for more information and test examples.
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{viewplain|}}}|view|v}}</span>]]|<!--else:
-->[[Template:{{{1}}}|<span title="View this template" style="{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}">{{#if:{{{mini|}}}|v|view}}</span>]]&nbsp;<span style="font-size:80%;">•</span>&nbsp;[[Template talk:{{{1}}}|<span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="Discussion about this template">{{#if:{{{mini|}}}|d|talk}}</span>]]{{#ifeq:{{{noedit}}}|1||&nbsp;<span style="font-size:80%;">•</span>&nbsp;[{{fullurl:{{ns:10}}:{{{1}}}|action=edit}} <span style="color:#002bb8;{{{fontstyle|}}};{{#if:{{{fontcolor|}}}|color:{{{fontcolor}}};}}" title="You can edit this template. Please use the preview button before saving.">{{#if:{{{mini|}}}|e|edit}}</span>]}}<!--
-->}}


</includeonly><noinclude><div style="position: absolute; right: 0; top: 0; margin: 0 5px;">v • d • e</div></noinclude></div>
</noinclude>

Latest revision as of 15:12, 3 February 2009

Sandbox for {{tmbox/core}}

Here we can test new code versions. This test template is called from {{tmbox/sandbox}}. See there for more information and test examples.