Editing Template:Ps2classic

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 (INLINE MODE)
if parameter 1 exists
-->{{#switch:{{{1|}}}<!--


--><span <!--
switch cases: left, center, right -->
  -->class="compatibility-tag"<!--
| left
  -->style="<!--
| center
      -->background:#08e;<!--
| right = style="background:#7777ff; color:#ffffff; text-align:{{{1|}}}; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} <abbr title="This Game has been released as a official PS2 Classic at the PlayStation Store for this region">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr><!--
      -->color:#fff;<!--
      -->display:inline-block;<!-- container
      -->width:8.4em;<!-- container width, dependant of font size
      -->line-height:1.3em;<!-- container height, dependant of font size
      -->border-radius:0.4em;<!-- container radius, dependant of font size
      -->box-shadow:<!--
        -->2px 4px 6px hsla(0,0%,99%,.3)inset,<!-- internal white shadow
        -->-2px -4px 6px rgba(0,0,0,.3)inset,<!-- internal black shadow
        -->1px 1px 2px rgba(0,0,0,.4);<!-- external black shadow
      -->border:<!--
        -->1px rgba(127,127,127,.5)outset<!-- container grey border
  -->"<!--
  -->title="{{tagtexts|ps2classic}}"<!--
-->><!--
  -->PS2 Classic<!--
--></span><!--


-->|<!-- else (TABLE MODE)
switch case: default (different than left, center, right) -->
| #default = <span style="background:#7777ff; color:#ffffff; border:2px outset #7777ff;"><abbr title="{{{1|}}}">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr></span><!--


-->class="compatibility-tag"<!--
-->}}<!-- switch ends
-->style="<!--
 
  -->background:#08e;<!--
else (parameter 1 doesnt exists)-->
  -->color:#fff;<!--
|style="background:#7777ff; color:#ffffff; text-align:center; padding-top:0px; padding-bottom:0px; border:2px outset #7777ff;" data-sort-value="1" {{!}} <abbr title="This Game has been released as a official PS2 Classic at the PlayStation Store for this region">[[Image:Store_logo.png|x16px|link=]]'''PS2&nbsp;Classic'''</abbr><!--
  -->box-shadow:<!--
      -->2px 4px 6px hsla(0,0%,99%,.3)inset,<!-- internal white shadow
      -->-2px -4px 6px rgba(0,0,0,.3)inset<!-- internal black shadow
-->"<!--
-->data-sort-value="0"<!--
-->title="{{tagtexts|ps2classic}}"<!--
-->{{!}}<!--
-->PS2 Classic<!--


-->}}<!-- if ends --><noinclude>
-->}}<!-- if ends --><noinclude>


== Examples ==
 
{{compatibility tags syntax}}
*Examples/tests
{{compatibility tags colorset}}
{| class="wikitable" style="font-size:85%; width:100%;"
! style="width:200px;" | {{ps2classic|Your custom text}}
| inline inside a wikitable <nowiki>{{ps2classic|Your custom text}}</nowiki>
|-
| {{ps2classic}} || inside a wikitable <nowiki>{{ps2classic}}</nowiki>
|-
| {{ps2classic|left}} || inside a wikitable <nowiki>{{ps2classic|left}}</nowiki>
|-
| {{ps2classic|center}} || inside a wikitable <nowiki>{{ps2classic|center}}</nowiki>
|-
| {{ps2classic|right}} || inside a wikitable <nowiki>{{ps2classic|right}}</nowiki>
|}
 
Inline outside of tables {{ps2classic|The custom hidden text feature is intended to be used only inline, you can write whatever you want in it}} <nowiki>{{ps2classic|Your custom text}}</nowiki>


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)