Editing Template:In5/doc

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 5: Line 5:
the count specified by<br>parameter 1 (range: 1 to 50 spaces).
the count specified by<br>parameter 1 (range: 1 to 50 spaces).
<br><br>
<br><br>
:: Usage: &nbsp; {<font>{in5}} {{in5}} <--indents by 5 spaces<br>
:: Usage: &nbsp; {<font/>{in5}} {{in5}} <--indents by 5 spaces<br>
:: Usage: &nbsp; {<font>{in5|8}} &nbsp; &nbsp; <--indents by 8 spaces<br>
:: Usage: &nbsp; {<font/>{in5|8}} &nbsp; &nbsp; <--indents by 8 spaces<br>
:: Usage: &nbsp; {<font>{in5|47}} &nbsp;&nbsp;<--indents by 47
:: Usage: &nbsp; {<font/>{in5|47}} &nbsp;&nbsp;<--indents by 47


Spaces outside the double braces will add an extra space on either
Spaces outside the double braces will add an extra space on either
side,<br>such as the 12 spaces inserted by: " {<font>{in5|10}} ".
side,<br>such as the 12 spaces inserted by: " {<font/>{in5|10}} ".


NOTE: The name "in5" was chosen because other names were debated, such as<br> the name "in" being redefined as 6 different uses.
NOTE: The name "in5" was chosen because other names were debated, such as<br> the name "in" being redefined as 6 different uses.
Line 20: Line 20:
:: Example 3: <nowiki>aa{{in5|20}}bb{{in5|20}}</nowiki>cc, produces: aa{{in5|20}}bb{{in5|20}}cc
:: Example 3: <nowiki>aa{{in5|20}}bb{{in5|20}}</nowiki>cc, produces: aa{{in5|20}}bb{{in5|20}}cc
:: Example 4: <nowiki>"32.0{{in5|7}}"</nowiki>&nbsp; produces: "32.0{{in5|7}}"
:: Example 4: <nowiki>"32.0{{in5|7}}"</nowiki>&nbsp; produces: "32.0{{in5|7}}"
The example 4 shows the ability to put trailing spaces, such as spaces after a number in a wikitable column (coded as: |&nbsp;32.0{<font>{in5}}&nbsp;). Typical numbers (with "align=right"), in a table column, often appear crowded at the right-hand side, so appending "{<font>{in5}}" can improve readability, in tables with lines between columns.
The example 4 shows the ability to put trailing spaces, such as spaces after a number in a wikitable column (coded as: |&nbsp;32.0{<font/>{in5}}&nbsp;). Typical numbers (with "align=right"), in a table column, often appear crowded at the right-hand side, so appending "{<font/>{in5}}" can improve readability, in tables with lines between columns.


==Universal template==
==Universal template==
Line 32: Line 32:
| valign=top | Example of <nowiki>{{in5|10}}</nowiki><br>and...<br>with <nowiki>{{in5|14}}</nowiki><br>with <nowiki>{{in5|15}}</nowiki><br>with <nowiki>{{in5|25}}</nowiki><br>with <nowiki>{{in5|45}}</nowiki> || <nowiki>xx{{in5|10}}</nowiki>yy, produces:<br>xx{{in5|10}}yy<br>xx{{in5|14}}yy<br>xx{{in5|15}}yy<br>xx{{in5|25}}yy<br>xx{{in5|45}}yy
| valign=top | Example of <nowiki>{{in5|10}}</nowiki><br>and...<br>with <nowiki>{{in5|14}}</nowiki><br>with <nowiki>{{in5|15}}</nowiki><br>with <nowiki>{{in5|25}}</nowiki><br>with <nowiki>{{in5|45}}</nowiki> || <nowiki>xx{{in5|10}}</nowiki>yy, produces:<br>xx{{in5|10}}yy<br>xx{{in5|14}}yy<br>xx{{in5|15}}yy<br>xx{{in5|25}}yy<br>xx{{in5|45}}yy
|}
|}
Again, using {<font>{in5}} reliably allows up to 50 spaces at a time.
Again, using {<font/>{in5}} reliably allows up to 50 spaces at a time.


==Comparison with letter-spacing==
==Comparison with letter-spacing==
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)