Template:PlayStation key press: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AnomieBOT
meta>SSastry (WMF)
This kind of string concatenation to generate a HTML tag will not be supported in the future. So, editing it to do something more sane.
Line 1: Line 1:
<kbd class="playstation-key nowrap" style="border: 1px solid #aaa; {{border-radius|1.5em}} {{box-shadow|1px|2px|2px|#ddd}} background-color: #333; padding: 0.1em 0.4em; font-size: 1.25em; font-weight: bold; font-family: inherit; color: {{#switch:{{lc:{{{1|x}}}}}
{{#switch:{{lc:{{{1|x}}}}}
|o|0|circle          = tomato">○
|o|0|circle          = <kbd class="playstation-key nowrap" style="border: 1px solid #aaa; {{border-radius|1.5em}} {{box-shadow|1px|2px|2px|#ddd}} background-color: #333; padding: 0.1em 0.4em; font-size: 1.25em; font-weight: bold; font-family: inherit; color: tomato">○</kbd>
|x                  = lightblue">×
|x                  = <kbd class="playstation-key nowrap" style="border: 1px solid #aaa; {{border-radius|1.5em}} {{box-shadow|1px|2px|2px|#ddd}} background-color: #333; padding: 0.1em 0.4em; font-size: 1.25em; font-weight: bold; font-family: inherit; color: lightblue">×</kbd>
|a|t|tr|triangle|∆|△ = lightgreen">△
|a|t|tr|triangle|∆|△ = <kbd class="playstation-key nowrap" style="border: 1px solid #aaa; {{border-radius|1.5em}} {{box-shadow|1px|2px|2px|#ddd}} background-color: #333; padding: 0.1em 0.4em; font-size: 1.25em; font-weight: bold; font-family: inherit; color: lightgreen">△</kbd>
|s|sq|square|□      = pink">□
|s|sq|square|□      = <kbd class="playstation-key nowrap" style="border: 1px solid #aaa; {{border-radius|1.5em}} {{box-shadow|1px|2px|2px|#ddd}} background-color: #333; padding: 0.1em 0.4em; font-size: 1.25em; font-weight: bold; font-family: inherit; color: pink">□</kbd>
}}</kbd><noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Please add this template's categories to the /doc subpage - thanks! -->
<!-- Please add this template's categories to the /doc subpage - thanks! -->
</noinclude>
</noinclude>

Revision as of 17:31, 16 April 2018

×