"Template:Columns-list/doc" ke revisions ke biich ke antar

m
Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
(Panna jisme "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE --> {{Tsh|cmn|collist|col-list}} This template is intended to be used in a..." hae ke banae dewa gais hae.)
 
m (Bot: Replace deprecated <source> tag and "enclose" parameter [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html])
 
Here is an example :
 
<sourcesyntaxhighlight lang="text">{{columns-list|2|
* [[George Washington]]
* [[John Adams]]
* [[James Madison]]
* [[James Monroe]]
}}</sourcesyntaxhighlight>
 
which would render as
Here is another example :
 
<sourcesyntaxhighlight lang="text">{{columns-list|colwidth=15em|
* [[George Washington]]
* [[John Adams]]
* [[James Madison]]
* [[James Monroe]]
}}</sourcesyntaxhighlight>
 
which would render as
[[CSS]] styles can also be added after the number of columns. For example :
 
<sourcesyntaxhighlight lang="text">{{columns-list|2|style=width: 400px; font-style: italic;|
* [[All About Lily Chou-Chou]]
* [[April Story]]
* [[Rainbow Song]]
* [[Swallowtail (film)|Swallowtail]]
}}</sourcesyntaxhighlight>
 
which would render as
13,041

edits