Template:Keyboard: Difference between revisions
(Created page with "<div style="float:left; width:100%;"> <div style="float: left; width: 70px;">Type This|64x64px|left</div> <div style="float:left; width:90%;"><...") |
mNo edit summary |
||
(41 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="float:left; width:100%;"> | <div style="clear:both; float:left; width:100%; margin:5px; outline:1px solid #e0e2e6; outline-offset:-1px;"> | ||
<div style="float:left; padding-left:1px;">[[image:64px-Keyboard.png|x48px|link=|Type This]]</div> | |||
{{#tag:pre|{{{content|"Hello there"}}}|style="min-height:48px; padding:0px; border:none; outline:inherit; outline-offset:inherit;"}} | |||
</div>{{clear}}<noinclude> | |||
==Usage== | |||
== Usage == | |||
<nowiki>{{Keyboard|content=some content}}</nowiki> | <nowiki>{{Keyboard|content=some content}}</nowiki> | ||
== | == Examples == | ||
{{Keyboard|content= | {{Keyboard|content= | ||
ps3mfw.exe %1 "Y:\PS3-Firmwares\OFW430.PUP" ""Z:/MFWOtherOS-out/MFW430.PUP" --gui false --debug true --patch_pup --pup-build "" --version-string "" --version-suffix "PSDEVWIKI" --patch_lv1 --patch-lv1-peek-poke true --patch-lv1-remove-lv2-protection true --patch-lv1-sysmgr-disable-integrity-check-4x true --patch-lv1-coreos-hash-check true --patch_cos --patch-lv0-coreos-ecdsa-check true --patch-spkg-ecdsa-check true --patch-pup-search-in-game-disc true --patch-lv2-peek-poke-4x true --patch-lv2-lv1-peek-poke-4x true --patch-lv2-npdrm-ecdsa-check true --patch-lv2-payload-hermes-4x true --patch-lv2-SC36-4x true --patch_xmb --add-install-pkg true --patch-act-pkg true --add-hb-seg true --patch-app-home true --patch-ren-apphome true --patch-alpha-sort true --patch-rape-sfo true --patch_vsh --allow-pseudoretail-pkg true --allow-debug-pkg true --patch-vsh-react-psn-v2-4x true | |||
}} | }} | ||
{{Keyboard|content=<syntaxhighlight lang="bash"> | |||
ps3mfw.exe %1 "Y:\PS3-Firmwares\OFW430.PUP" ""Z:/MFWOtherOS-out/MFW430.PUP" --gui false --debug true --patch_pup --pup-build "" --version-string "" --version-suffix "PSDEVWIKI" --patch_lv1 --patch-lv1-peek-poke true --patch-lv1-remove-lv2-protection true --patch-lv1-sysmgr-disable-integrity-check-4x true --patch-lv1-coreos-hash-check true --patch_cos --patch-lv0-coreos-ecdsa-check true --patch-spkg-ecdsa-check true --patch-pup-search-in-game-disc true --patch-lv2-peek-poke-4x true --patch-lv2-lv1-peek-poke-4x true --patch-lv2-npdrm-ecdsa-check true --patch-lv2-payload-hermes-4x true --patch-lv2-SC36-4x true --patch_xmb --add-install-pkg true --patch-act-pkg true --add-hb-seg true --patch-app-home true --patch-ren-apphome true --patch-alpha-sort true --patch-rape-sfo true --patch_vsh --allow-pseudoretail-pkg true --allow-debug-pkg true --patch-vsh-react-psn-v2-4x true | |||
</syntaxhighlight>}} | |||
== Warning == | |||
The | character (named pipe in wiki slang) breaks the template because is considered an indication to enter the next parameter of template <nowiki>{{keyboard}}</nowiki>, after the pipe it stops displaying the content<br> | |||
To bypass this problem is needed to replace the pipe characters in the content by <nowiki>{{!}}</nowiki>. This is an official mediawiki hack, the template <nowiki>{{!}}</nowiki> is considered as standard characters by the template <nowiki>{{keyboard}}</nowiki> but is replaced by a | when is displayed. Or surround the conent by either <nowiki><pre> or <syntaxhighlight></nowiki> tags | |||
<nowiki>{{Keyboard|content=1,2,3,4,5|6,7,8,9,10}}</nowiki> | |||
{{Keyboard|content=1,2,3,4,5|6,7,8,9,10}} | |||
<nowiki>{{Keyboard|content=1,2,3,4,5{{!}}6,7,8,9,10}}</nowiki> | |||
{{Keyboard|content=1,2,3,4,5{{!}}6,7,8,9,10}} | |||
<nowiki>{{Keyboard|content=<pre>1,2,3,4,5|6,7,8,9,10</pre>}}</nowiki> | |||
{{Keyboard|content=<pre>1,2,3,4,5|6,7,8,9,10</pre>}} | |||
<nowiki>{{Keyboard|content=<syntaxhighlight lang="bash">1,2,3,4,5|6,7,8,9,10</syntaxhighlight>}}</nowiki> | |||
{{Keyboard|content=<syntaxhighlight>1,2,3,4,5|6,7,8,9,10</syntaxhighlight>}} | |||
[[Category:templates]]</noinclude> | [[Category:templates]]</noinclude> |
Latest revision as of 01:21, 25 September 2021
"Hello there"
Usage[edit source]
{{Keyboard|content=some content}}
Examples[edit source]
ps3mfw.exe %1 "Y:\PS3-Firmwares\OFW430.PUP" ""Z:/MFWOtherOS-out/MFW430.PUP" --gui false --debug true --patch_pup --pup-build "" --version-string "" --version-suffix "PSDEVWIKI" --patch_lv1 --patch-lv1-peek-poke true --patch-lv1-remove-lv2-protection true --patch-lv1-sysmgr-disable-integrity-check-4x true --patch-lv1-coreos-hash-check true --patch_cos --patch-lv0-coreos-ecdsa-check true --patch-spkg-ecdsa-check true --patch-pup-search-in-game-disc true --patch-lv2-peek-poke-4x true --patch-lv2-lv1-peek-poke-4x true --patch-lv2-npdrm-ecdsa-check true --patch-lv2-payload-hermes-4x true --patch-lv2-SC36-4x true --patch_xmb --add-install-pkg true --patch-act-pkg true --add-hb-seg true --patch-app-home true --patch-ren-apphome true --patch-alpha-sort true --patch-rape-sfo true --patch_vsh --allow-pseudoretail-pkg true --allow-debug-pkg true --patch-vsh-react-psn-v2-4x true
ps3mfw.exe %1 "Y:\PS3-Firmwares\OFW430.PUP" ""Z:/MFWOtherOS-out/MFW430.PUP" --gui false --debug true --patch_pup --pup-build "" --version-string "" --version-suffix "PSDEVWIKI" --patch_lv1 --patch-lv1-peek-poke true --patch-lv1-remove-lv2-protection true --patch-lv1-sysmgr-disable-integrity-check-4x true --patch-lv1-coreos-hash-check true --patch_cos --patch-lv0-coreos-ecdsa-check true --patch-spkg-ecdsa-check true --patch-pup-search-in-game-disc true --patch-lv2-peek-poke-4x true --patch-lv2-lv1-peek-poke-4x true --patch-lv2-npdrm-ecdsa-check true --patch-lv2-payload-hermes-4x true --patch-lv2-SC36-4x true --patch_xmb --add-install-pkg true --patch-act-pkg true --add-hb-seg true --patch-app-home true --patch-ren-apphome true --patch-alpha-sort true --patch-rape-sfo true --patch_vsh --allow-pseudoretail-pkg true --allow-debug-pkg true --patch-vsh-react-psn-v2-4x true
Warning[edit source]
The | character (named pipe in wiki slang) breaks the template because is considered an indication to enter the next parameter of template {{keyboard}}, after the pipe it stops displaying the content
To bypass this problem is needed to replace the pipe characters in the content by {{!}}. This is an official mediawiki hack, the template {{!}} is considered as standard characters by the template {{keyboard}} but is replaced by a | when is displayed. Or surround the conent by either <pre> or <syntaxhighlight> tags
{{Keyboard|content=1,2,3,4,5|6,7,8,9,10}}
1,2,3,4,5
{{Keyboard|content=1,2,3,4,5{{!}}6,7,8,9,10}}
1,2,3,4,5|6,7,8,9,10
{{Keyboard|content=<pre>1,2,3,4,5|6,7,8,9,10</pre>}}
1,2,3,4,5|6,7,8,9,10
{{Keyboard|content=<syntaxhighlight lang="bash">1,2,3,4,5|6,7,8,9,10</syntaxhighlight>}}
1,2,3,4,5|6,7,8,9,10