Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Random page
Interaction
Help
Community portal
Recent changes
Languages
Language links are at the top of the page across from the title.
Forsaken Saga Wiki
Search
Search
English
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Columns
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
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.
Anti-spam check. Do
not
fill this in!
<includeonly>{{#if: {{{count|}}}{{{style|}}}{{{colwidth|}}} | <div style="columns:{{#if:{{{colwidth|}}}|{{{colwidth}}}}}{{#if:{{{count|}}}|<nowiki> </nowiki>{{{count}}}}}; {{{style|}}}"> {{{data|{{{content|}}}}}}</div> <!-- New line is necessary to properly render wiki markup --> | <div style="column-count:{{{1}}}; column-width:300px;"> {{{2}}}</div>}}</includeonly><noinclude> Divides list or text into columns automatically. No need to count and divide into table cells and then re-count and re-divide if new info is added to the list. ==Usage== <nowiki>{{Columns|# of columns| list or text}}</nowiki> For example, if you need to break the list bellow into 2 columns: * 1 * 2 * 3 * 4 * 5 * 6 Simply type: <pre>{{Columns|2| * 1 * 2 * 3 * 4 * 5 * 6 }}</pre> Result: {{Columns|2| * 1 * 2 * 3 * 4 * 5 * 6 }} ==Additional options== For flexibility - e.g. a list that is 5 columns on a wide screen desktop browser, but an unspecified number of 150px columns on a narrower mobile screen - use these parameters: <nowiki>{{Columns|count=# of columns|colwidth= width in px or em|style= css color/width/fonts/size etc.|data= list or text}}</nowiki> Example: <pre>{{Columns|count=5|colwidth=150px|style=background-color:#FFCCCC; border:1px solid black;|data= [list of fruits] }}</pre> Result: {{Columns|count=5|colwidth=150px|style=background-color:#FFCCCC; border:1px solid black;|data= *Apple **Crab apple **Rose apple **Star apple *Apricot *Avocado *Banana **Plantain *Berry **Blackberry **Cranberry **Blueberry **Boysenberry **Cloudberry **Elderberry **Goji berry **Gooseberry **Huckleberry **Juniper berry **Loganberry **Marionberry **Mulberry **Raspberry **Strawberry *Breadfruit *Cacao *Cactus pear *Cherimoya (Custard Apple) *Cherry **Surinam cherry *Citron **Buddha's hand (fingered citron) *Coconut *Currant **Blackcurrant **Redcurrant **White currant *Date *Dragonfruit *Durian *Fig *Grape **Raisin *Grapefruit *Guava *Jackfruit *Kiwifruit *Kumquat *Lemon *Lime **Finger Lime **Kaffir Lime *Lychee *Mango *Mangosteen **Purple mangosteen *Melon **Cantaloupe **Honeydew **Kiwano (horned melon) **Musk melon **Watermelon *Miracle fruit *Nectarine *Orange **Blood orange **Clementine **Mandarine **Tangerine *Papaya *Passionfruit *Pawpaw *Peach *Pear *Persimmon *Plum **Japanese plum **Prune (dried plum) *Pineapple *Pomegranate *Pomelo *Quince *Rambutan *Satsuma *Star fruit *Tamarillo *Tamarind *Tangelo *Ugli fruit *Yuzu }} ===Variations=== Parameters may be excluded as needed, for example: <pre>{{Columns|colwidth=8em|data= [list of herbs] }}</pre> {{Columns|colwidth=8em|data= *Allspice *Anise **Star Anise *Avocado leaf *Basil *Bay leaf *Borage *Burdock root *Cardamom *Catnip *Celery *Chicory *Chives *Cilantro *Cinnamon *Clove *Coriander *Cumin *Curry leaf *Dill *Dandelion *Fennel *Garlic *Ginger *Horseradish *Lavender *Lemon Balm *Lemon Grass *Licorice *Mace *Marjoram *Mint **Apple mint **Peppermint **Spearmint *Mustard *Nutmeg *Oregano *Paprika *Parsley *Pepper **Red pepper **White pepper *Rosemary *Saffron *Sage *Spring onion *Thyme *Turmeric *Vanilla *Wasabi *Watercress }} [[Category:Templates]] </noinclude>
Summary:
Please note that all contributions to Forsaken Saga Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, 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 (see
My wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Columns
(
edit
)
Toggle limited content width