Editing Template:Userbox-r/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 6: Line 6:


=== Sandbox Reminder:===
=== Sandbox Reminder:===
*Always practice or experiment in sandbox
*Always practice or experiment in the [[Template:Userbox-r/sandbox]] or [[Template:Userbox-r/testcases]]
*Once you are satisfied: Copy your code!
*Once you are satisfied: Copy your code!
*In your Browser's address bar, change "sandbox" or "testcases" to the name of your new Userbox.
*In your Browser's address bar, change "sandbox" or "testcases" to the name of your new Userbox.
Line 42: Line 42:
}}
}}
</pre>
</pre>
* Text size is assumed to be in points
* Text size is assumed to be in [[Point (typography)|points]]
* If border-c is not specified, id-c will be used
* If border-c is not specified, id-c will be used
* All parameters are optional
* All parameters are optional
Line 58: Line 58:


<!-- explain what this template's parameters do -- if no params, delete the definition -->
<!-- explain what this template's parameters do -- if no params, delete the definition -->
=== Example ===
=== Example ===
{|
{|
Line 111: Line 110:
}}</pre> || {{userbox-r|id=foo logo|id-s=14|id-lh=1.1em|id-c=#ffffee|info=''We have specified values to lessen the distance in between text lines & padding space in between cell content and its border.''|info-c=#ffeeff|info-s=8|info-p=1pt|info-lh=1.05em|border-c=#aaffaa|border-s=1}}
}}</pre> || {{userbox-r|id=foo logo|id-s=14|id-lh=1.1em|id-c=#ffffee|info=''We have specified values to lessen the distance in between text lines & padding space in between cell content and its border.''|info-c=#ffeeff|info-s=8|info-p=1pt|info-lh=1.05em|border-c=#aaffaa|border-s=1}}
|-
|-
| colspan="2"| Below example is for advanced users, showing how we can specify other Cascading Style Sheets properties, for example, "''font-family''", to change the font, which are not existing inside the template already. At below, right side shows two userboxes; top one is displayed without the "''font-family''" parameter, but the bottom userbox is displayed by using the below codes, with the help of "''info-op''" parameter.  
| colspan="2"| Below example is for advanced users, showing how we can specify other [[Cascading Style Sheets|CSS]] properties, for example, "''font-family''", to change the font, which are not existing inside the template already. At below, right side shows two userboxes; top one is displayed without the "''font-family''" parameter, but the bottom userbox is displayed by using the below codes, with the help of "''info-op''" parameter.  
|-
|-
| <pre>{{userbox-r
| <pre>{{userbox-r
Line 154: Line 153:
[[Category:User namespace templates|Userbox-r]]
[[Category:User namespace templates|Userbox-r]]


</includeonly><noinclude>[[Category:Userboxes]]</noinclude>
</includeonly>
Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 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)