Template:Keyboard: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float:left; width:100%; margin-top:2px; margin-bottom:2px; clear:both; border:1px solid #eaecf0;">
<div style="clear:both; float:left; width:100%; margin:5px; outline:1px solid #e0e2e6; outline-offset:-1px;">
  <div style="float:left;">[[image:64px-Keyboard.png|x48px|link=|Type This]]</div>{{#tag:pre|{{{content|"Hello there"}}}|style="min-height:48px; margin:0px; padding:0px; border:none;"}}
  <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>
</div>{{clear}}<noinclude>



Latest revision as of 02:21, 25 September 2021

Type This
"Hello there"

Usage[edit source]

{{Keyboard|content=some content}}

Examples[edit source]

Type This
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
Type This
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}}

Type This
1,2,3,4,5

{{Keyboard|content=1,2,3,4,5{{!}}6,7,8,9,10}}

Type This
1,2,3,4,5|6,7,8,9,10

{{Keyboard|content=<pre>1,2,3,4,5|6,7,8,9,10</pre>}}

Type This
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>}}

Type This
1,2,3,4,5|6,7,8,9,10