Χρήστης:Jaxlarus/Πρότυπο:Userbox-r

Από τη Βικιπαίδεια, την ελεύθερη εγκυκλοπαίδεια
info id

Αυτό το πρότυπο μπορεί να χρησιμοποιηθεί για τη δημιουργία κουτιών χρήστη, στα οποία το θέμα βρίσκεται στα δεξιά, όπως για παράδειγμα για γλώσσες απου γράφονται από τα δεξιά στα αριστερά (πχ αραβικά, εβραϊκά κτλ).

Χρήση[Επεξεργασία | επεξεργασία κώδικα]

{{userbox-r
| border-c      = border color
| border-s      = border width in pixels
| id            = id text or image
| 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)
| id-w          = id box width
| id-h          = id box height
| 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)
| usercategory  = user category (optional)
| usercategory2 = user category (optional)
}}
  • Text size is assumed to be in points
  • If border-c is not specified, id-c will be used
  • All parameters are optional

Παράδειγμα[Επεξεργασία | επεξεργασία κώδικα]

Code Result
{{userbox-r}}
Πρότυπο:Userbox-r
{{userbox-r
| id            = κα
| id-s          = 20
| id-c          = #ffffee
| info          = ''λα μά ρι''
| info-c        = #ffeeff
| info-s        = 12
| border-c      = #aaffaa
| border-s      = 2
}}
Πρότυπο:Userbox-r

Δείτε επίσης[Επεξεργασία | επεξεργασία κώδικα]