From Vectorlab
|
| This vcor page needs language cleanup.
If you wish to help, clean up the page, then remove me deleting the line "{{Language cleanup}}". In the category:Language cleanup you'll find a list of all pages marked for cleanup.
|
|
| This vcor page is currently under construction.
By: NIL. Last edit: 2009.2.14 (YYYY.MM.DD)
In the category:Under construction you'll find a list of all pages currently marked as under construction.
|
[edit] What are userboxes
Userboxes are predefined wiki-snippets saved as templates. They are meant to standardize user infos and in some case categorize them.
Originally developed for Wikimedia Commons, exported to Babel, userboxes evolved fast into one of the most beloved wiki tools for the simplicity of their use and are employed by many wikies under countless variations.
A userbox is divided into two parts:
|
|
- ID: a shortcut, an image, a logo.
- Info: few words of explanation
|
This userbox can be customized resulting in almost anything you want, consider the examples below, they are all done through the generic Userbox template:
| w:)
| This user likes wiki markup.
|
|
VS ->
| This user is long-term beginner in VectorScript.
|
|
| —
| This user has NO personality.
|
|
| w:(
| This user hates wiki markup.
|
|
AS @#!
| This user loves AND hates AppleScript.
|
|
| This user prefers a Mac.
|
|
On vcor we have the following types of userbox:
- Generic Userbox
- the container for any userbox. You can use it to make anything you want. The examples above are all made through the generic userbox.
- Categorizing Userboxes
- these userboxes categorize users according to the declared preferences or skills.
- VectorWorks Userbox
- declare the VectorWorks or Minicad version with which you started. Or register as developer. Or as someone who contributed in developing the VectorWorks core engine. It will also be used for some statistic.
- Language Userbox
- declare your language skills. One day this will help us building up the interlanguage facilities on vcor.
- Go to your main Userpage. You always find a link to your user page under your user name, up right in the browser window.
- Click edit
- Choose a type of userbox: generic, VectorWorks or language.
- Place a template call to the chosen userbox type anywhere in your user page:
{{Userbox | id =Hi!}}
{{Userbox VectorWorks| 1}} (wow!)
{{Userbox Language| dk }}
- Please use Userboxes only in user pages.
[edit] Generic Userbox
This template is taken from Wikipedia Userbox. It is a very refined template and we found it wise to keep it as main container for other vcor userboxes. You can customize it setting one or more of its Parameters:
[edit] Parameters
Below a list of all available parameters for the generic Userbox with an explanation:
{{Userbox
|id = id text or image. If the image is larger than 45x45px the userbox will expand.
|id-c = id background color
|id-fc = id font color
|id-s = id text size
|id-p = id cell padding space
|id-lh = id line height
|id-op = id other parameter (CSS)
|info = info text
|info-c = info background color
|info-fc = info font color
|info-s = info text size
|info-p = info padding (distance between cell contents & cell border)
|info-lh = info line height (or distance in between text lines)
|info-op = info other (CSS) parameter(s)
|border-c = box color
|border-s = border width in pixels
}}
- If border-c is not specified, id-c will be used
- All parameters are optional
[edit] No customization
A userbox without any customization. Place the line in the dotted container below anywhere in your user page:
- it looks pretty meaningless.
[edit] Text and colors
A userbox with customized text and colors:
- Display text "Foo" on the left
- Display text "Foo bar" on the right
- Special border colors
|
| {{Userbox
|id=foo
|id-s=20
|id-c=#ffffee
|info=''foo bar''
|info-c=#ffeeff
|info-s=12
|border-c=#aaffaa
|border-s=2
}}
|
[edit] Longer text
Below example showing the default appearance of a userbox. Which is (much) higher than the 45px. Compare the height of the below one with the above userbox.
| foo logo
| We are trying to see default distance in between text lines, and, see the distance in between cell content and its border and also see total height.
|
| {{Userbox
|id=foo logo
|id-c=#ffffee
|info=''We are trying to see
default distance in between text
lines, and, see the distance in
between cell content and its border
and also see total height.''
|info-c=#ffeeff
|border-c=#aaffaa
|border-s=2
}}
|
[edit] Coerce height
Below example showing, how we can change that userbox and specify further parameters to bring down the overall height of the userbox, to the recommended height of 45px, even with four text lines. Cell padding parameter "info-p" can also be set at "1pt 1pt 1pt 2pt" or, "1pt 2pt" for better appearance, when there are 4 text lines.
| foo logo
| We have specified values to lessen the distance in between text lines & padding space in between cell content and its border.
|
| {{Userbox
|id=foo logo
|id-s=14
|id-c=#ffffee
|id-lh=1.1em
|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
}}
|
Below example is for advanced users, showing, how we can specify other 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.
| {{Userbox
|id=foo logo
|id-s=14
|id-c=#ffe
|id-lh=1.1em
|info=foo bar
|info-c=#fef
|info-s=14
|info-op=font-family:'Courier New';
|border-c=#afa
|border-s=2
}}
|
[edit] VectorWorks Userbox
Place a VectorWorks Userbox in your user page for declaring when you started with VW. The VectorWorks Userbox accepts only one parameter which must be a number from 1 to 12. For example:
{{Userbox VectorWorks| 1}}Places you in the category
User since MiniCad 1
{{Userbox VectorWorks| 9}}Places you in the category
User since VectorWorks 9
{{Userbox VectorWorks| -1}}Places you in the category
VectorWorks 3rd Party Developers. People who sells or develops extensions, plug-ins, services related to VW scripting and optimization.
{{Userbox VectorWorks| 0}}Places you in the category
VectorWorks Maker. People who worked in developing the core engine of VectorWorks
| MC 1
| User since MiniCad 1
|
|
| MC 2
| User since MiniCad 2
|
|
| MC 3
| User since MiniCad 3
|
|
| MC 4
| User since MiniCad 4
|
|
| MC 5
| User since MiniCad 5
|
|
| MC 6
| User since MiniCad 6
|
|
| MC 7
| User since MiniCad 7
|
|
| VW 8
| User since VectorWorks 8
|
|
| VW 9
| User since VectorWorks 9
|
|
| VW 10
| User since VectorWorks 10
|
|
| VW 11
| User since VectorWorks 11
|
|
| VW 12
| User since VectorWorks 12
|
|
| VW _D_
| VectorWorks 3rd Party Developer
|
|
|
VW -
| Just interested in VectorWorks
|
|
[edit] Language Userbox
These are special userboxes which are meant to help categorizing users according to their language skills. The Language Userbox accepts only one parameter with a language code. Below the languages and relative codes we are starting with. Please request a user language if you are missing your own.
Paste the line below at the beginning of your user page for declaring your language skills. For example:
{{Userbox Language| de}}Places you in the category
German Native Speakers
{{Userbox Language| es}}Places you in the category
Spanish Native Speakers
|
|
|
|
|
|
|
|
|
|
|
|
| pl
|
Polski jest językiem ojczystym tego użytkownika
|
|
|
|
|
|
|
|
|
|
|
|
[edit] See also
In order to avoid exponential growing of templates, we developed on vcor a compacter Userbox system. The uncontrolled growth of user defined boxes saved as templates is an issue that is proving problematic on larger wikies. In the links below you'll find many external pages with informations of userbox usage, you'll also be tempted to store as template on vcor some of the userboxes that you'll find there, but *please* use only the predefined userboxes listed above changing the settings according to your needs. Do not store extra templates for the userboxes.