سانچہ:Element cell-asterisk

آزاد دائرۃ المعارف، ویکیپیڈیا سے
Jump to navigation Jump to search

style="text-align:center; vertical-align:middle; " | 1 asterisk

استعمال[ترمیم]

The template produces asterisks in formatted for usage in a wikitable. It is part of a series.

مثال:

Basic arrangements
{{element cell-asterisk|1}} 1 asterisk
{{element cell-asterisk|2}} 2 asterisks
{{element cell-asterisk|2vertical}} 1 asterisk
{{element cell-asterisk|3}} 3 asterisks
{{element cell-asterisk|4}} 4 asterisks
{{element cell-asterisk|5}} 5 asterisks
Additional style settings
{{element cell-asterisk|2|style=background:yellow;}} 2 asterisks
{{element cell-asterisk|2|align=left}} 2 asterisks
{{element cell-asterisk|2|align=right|prefix=Prefx|suffix=Suffx}} Prefx2 asterisksSuffx
{{element cell-asterisk|1 right|align=right|prefix=Prefx}} Prefx1 asterisk
{{element cell-asterisk|3|link=Main Page}} 3 asterisks

پیرامیٹر[ترمیم]

Parameters are optional.

{{element cell-asterisk
|
| size  = 
| align = 
| style = 
| prefix= 
| suffix= 
| link  = 
}}
 
Number (1 to 5 asterisks; 1r and 1l, or 1 right and 1 left, re-align the single asterisk)
Asterisks width in px (12px=compact cells; 16px default, 20px=large cells)
Horizontal alignment: left, right, center. Plus 0.5em padding there. Default=center. See also "1 right".
Any css style settings. Do not add "" quotes
Text prefixed to the asterisks. Can use <br>
Text suffixed to the asterisks. Can use <br>
Links the image
 

مزید دیکھیے[ترمیم]

سانچہ:Element cell/overview

سانچہ:Periodic table templates