Editing Template:Keyboard

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:
<div style="clear:both; float:left; width:100%; margin:5px; outline:1px solid #e0e2e6; outline-offset:-1px;">
{{clear}}
  <div style="float:left; padding-left:1px;">[[image:64px-Keyboard.png|x48px|link=|Type This]]</div>
<div style="float:left; width:100%;">
{{#tag:pre|{{{content|"Hello there"}}}|style="min-height:48px; padding:0px; border:none; outline:inherit; outline-offset:inherit;"}}
  [[image:64px-Keyboard.png|64x64px|left|link=|Type This]]<pre<noinclude></noinclude>>{{{content|"Hello there"}}}</pre<noinclude></noinclude>>
</div>{{clear}}<noinclude>
</div>
{{clear}}
<noinclude>


== Usage ==
==Usage==
<nowiki>{{Keyboard|content=some content}}</nowiki>
<nowiki>{{Keyboard|content=some content}}</nowiki>


== Examples ==
==Example==
{{Keyboard|content=
{{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
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>
}}
}}


{{Keyboard|content=<syntaxhighlight lang="bash">
==Problems==
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
The text is not really preformatted, the content in the examples below are identical but are displayed different
</syntaxhighlight>}}
{{Keyboard|content=
'''ps3mfw.exe'''  <br>                  <span style="color:blue">''%1 "Y:\PS3-Firmwares\OFW430.PUP"''</span> | ""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 ==
The example above <strike>is ignoring the spaces at the line start. This is normal, only for the first line</strike>, is displaying it in bold, italic, and blue, it does a linebreak, the character "'''|'''" (named pipe in wiki slang) breaks the template because is considered an indication to enter the next parameter, after the pipe it stops displaying the content (click in "edit" to see the differences)<br>
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>
The example below is really preformatted because is not using the template <nowiki>{{keyboard}}</nowiki>, in other words, the <nowiki><pre></nowiki> is made outside of <nowiki>{{keyboard}}</nowiki> template
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>
<pre>
{{Keyboard|content=1,2,3,4,5|6,7,8,9,10}}
'''ps3mfw.exe'''  <br>                   <span style="color:blue">''%1 "Y:\PS3-Firmwares\OFW430.PUP"''</span> | ""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
<nowiki>{{Keyboard|content=1,2,3,4,5{{!}}6,7,8,9,10}}</nowiki>
</pre>
{{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>
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)

Templates used on this page: