Template:Ps1classic: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#if:{{{1|}}}|<!--
{{#if:{{{1|}}}<!--


if parameter 1 exists
-->|<!-- if parameter 1 exists (INLINE MODE) -->
-->{{#switch:{{{1|}}}<!--
<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.4em; text-align:center; font-weight:bold; border-radius:0.4em; border:1px outset rgba(127,127,127,0.5); cursor:default;" title="{{{1|}}}">[[Image:Store_logo_mini.png|x15px|link=]]&nbsp;PSone&nbsp;Classic</span><!--


switch cases: left, center, right -->
-->|<!-- else (TABLE MODE) -->
| left
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:center; font-weight:bold; color:#ffffff; cursor:help; padding-top:0px; padding-bottom:0px;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps1classicShort}}" {{!}} [[Image:Store_logo_mini.png|x19px|link=]]&nbsp;PSone&nbsp;Classic<!--
| center
| right = class="nowrap" style="background:#0070D0; color:#ffffff; text-align:{{{1|}}}; font-weight:bold;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps1classicShort}}" {{!}} [[Image:Store_logo_mini.png|x16px|link=]]&nbsp;PSone&nbsp;Classic<!--


switch case: default (different than left, center, right) -->
-->}}<!-- if ends --><noinclude>
| #default = <span class="nowrap" style="background-image:linear-gradient(#0090f0 0%, #0070d0 50%, #0050b0 100%); color:#ffffff; display:inline-block; width:8.5em; line-height:1.4em; text-align:center; font-weight:bold; box-shadow: 1px 1px 2px 1px #bbbbbb; border-radius:0.4em; border:2px outset #0090f0;" title="{{{1|}}}">[[Image:Store_logo_mini.png|x16px|link=]]&nbsp;PSone&nbsp;Classic</span><!--


-->}}<!-- switch ends
== Examples ==
{| class="wikitable" style="font-size:85%;"
| style="border-top:hidden; padding:0px; width:150px;" | || style="border-top:hidden; padding:0px; width:350px;" |
|-
| {{ps1classic}} || '''<nowiki>{{ps1classic}}</nowiki>''' Inside a table
|-
| {{ps1classic|text}} || '''<nowiki>{{ps1classic|text}}</nowiki>''' Inline
|}


else (parameter 1 doesnt exists)-->
[[Category:Templates]]</noinclude>
| class="nowrap" style="background:#0070D0; color:#ffffff; text-align:center; font-weight:bold;" data-sort-value="0" title="{{Compatibility Tags Descriptions|ps1classicShort}}" {{!}} [[Image:Store_logo_mini.png|x16px|link=]]&nbsp;PSone&nbsp;Classic<!--
 
-->}}<!-- if ends --><noinclude>[[Category:Templates]]</noinclude>

Revision as of 17:54, 11 October 2021

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:center; font-weight:bold; color:#ffffff; cursor:help; padding-top:0px; padding-bottom:0px;" data-sort-value="0" title="Template:Compatibility Tags Descriptions" | Store logo mini.png PSone Classic

Examples

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:center; font-weight:bold; color:#ffffff; cursor:help; padding-top:0px; padding-bottom:0px;" data-sort-value="0" title="Template:Compatibility Tags Descriptions" | Store logo mini.png PSone Classic {{ps1classic}} Inside a table
Store logo mini.png PSone Classic {{ps1classic|text}} Inline