Editing Template:Ps2classic
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{#if:{{{1|}}}<!-- | {{#if:{{{1|}}}|<!-- | ||
-->|<!-- | if parameter 1 exists | ||
-->{{#switch:{{{1|}}}<!-- | |||
--> | switch cases: left, right --> | ||
| left | |||
| right = class="nowrap" style="background:#007fdf; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.25), inset -2px -4px 6px 0px rgba(0,0,0,0.2); outline:3px outset rgba(255,255,255,0.15); outline-offset:-3px; text-align:{{{1|}}}; color:#ffffff; cursor:help; padding-top:0px; padding-bottom:0px;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps2classicShort}}" {{!}} [[Image:Store_logo_mini.png|x21px|link=]]''' PS2 Classic'''<!-- | |||
-->|< | switch case: default (different than left, right) --> | ||
| #default = <span class="nowrap" style="background:#007fdf; box-shadow:inset 2px 4px 6px 0px rgba(255,255,255,0.25), inset -2px -4px 6px 0px rgba(0,0,0,0.2), 1px 1px 2px 1px #cccccc; outline:3px outset rgba(255,255,255,0.15); outline-offset:-3px; color:#ffffff; display:inline-block; width:8.5em; line-height:1.2em; text-align:center; border-radius:0.4em; border:1px outset rgba(127,127,127,0.5); cursor:default;" title="{{{1|}}}">[[Image:Store_logo_mini.png|x13px|link=]] PS2 Classic</span><!-- | |||
--> | -->}}<!-- switch ends | ||
-->style=" | |||
else (parameter 1 doesnt exists)--> | |||
| class="nowrap" style="background:#0070D0; color:#ffffff; text-align:center;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps2classicShort}}" {{!}} [[Image:Store_logo_mini.png|x13px|link=]]''' PS2 Classic'''<!-- | |||
-->}}<!-- if ends --><noinclude> | -->}}<!-- if ends --><noinclude> | ||
== Examples == | == Examples == | ||
{{ | The wikitables below are reducing the font size with the setting: '''<nowiki>class="wikitable" style="font-size:85%"</nowiki>''' | ||
{{ | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{ps1classic}} || '''<nowiki>{{ps1classic}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{ps1classic|left}} || '''<nowiki>{{ps1classic|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{ps1classic|right}} || '''<nowiki>{{ps1classic|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{ps1classic|text}} || '''<nowiki>{{ps1classic|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{ps1classic|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{ps1classic|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{ps2classic}} || '''<nowiki>{{ps2classic}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{ps2classic|left}} || '''<nowiki>{{ps2classic|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{ps2classic|right}} || '''<nowiki>{{ps2classic|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{ps2classic|text}} || '''<nowiki>{{ps2classic|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{ps2classic|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{ps2classic|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{playable}} || '''<nowiki>{{playable}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{playable|left}} || '''<nowiki>{{playable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{playable|right}} || '''<nowiki>{{playable|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{playable|text}} || '''<nowiki>{{playable|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{playable|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{playable|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{minorissues}} || '''<nowiki>{{minorissues}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{minorissues|left}} || '''<nowiki>{{minorissues|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{minorissues|right}} || '''<nowiki>{{minorissues|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{minorissues|text}} || '''<nowiki>{{minorissues|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{minorissues|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{minorissues|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{majorissues}} || '''<nowiki>{{majorissues}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{majorissues|left}} || '''<nowiki>{{majorissues|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{majorissues|right}} || '''<nowiki>{{majorissues|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{majorissues|text}} || '''<nowiki>{{majorissues|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{majorissues|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{majorissues|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{unplayable}} || '''<nowiki>{{unplayable}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{unplayable|left}} || '''<nowiki>{{unplayable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{unplayable|right}} || '''<nowiki>{{unplayable|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{unplayable|text}} || '''<nowiki>{{unplayable|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{unplayable|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{unplayable|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{available}} || '''<nowiki>{{available}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{available|left}} || '''<nowiki>{{available|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{available|right}} || '''<nowiki>{{available|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{available|text}} || '''<nowiki>{{available|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{available|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{available|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
{| class="wikitable" style="float:left; clear:both; margin:0px; font-size:85%;" | |||
| style="border-top:hidden; padding:0px; width:125px;" | || style="border-top:hidden; padding:0px; width:300px;" | | |||
|- | |||
| {{notavailable}} || '''<nowiki>{{notavailable}}</nowiki>''' Inside a table, default alignment | |||
|- | |||
| {{notavailable|left}} || '''<nowiki>{{notavailable|left}}</nowiki>''' Inside a table, left alignment | |||
|- | |||
| {{notavailable|right}} || '''<nowiki>{{notavailable|right}}</nowiki>''' Inside a table, right alignment | |||
|} | |||
{| style="float:left; border:hidden;" | |||
| {{notavailable|text}} || '''<nowiki>{{notavailable|text}}</nowiki>''' Inline, default font size | |||
|- | |||
| <span style="font-size:1.2em">{{notavailable|text}}</span> || '''<nowiki><span style="font-size:1.2em">{{notavailable|text}}</span></nowiki>''' Inline, bigger font size | |||
|} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |