Anonymous user
Examples/Parameter: secseparators (example 2): Difference between revisions
Examples/Parameter: secseparators (example 2) (view source)
Revision as of 23:51, 31 March 2023
, 1 year agoFrozenPlum moved page Controlling output format/Parameter: secseparators (example 2) to Examples/Parameter: secseparators (example 2): Simplifying how things are structured
imported>FrozenPlum m (Consistency fix) |
imported>FrozenPlum m (FrozenPlum moved page Controlling output format/Parameter: secseparators (example 2) to Examples/Parameter: secseparators (example 2): Simplifying how things are structured) |
||
(One intermediate revision by the same user not shown) | |||
Line 6:
==Example==
This will list articles in [[:Category:Fruit examples]] using <code>{{DPL|listseparators}}</code> to define a table with three columns, and put a link to the article in the first column
Assuming that the chapter on "Notes" contains a long text, it can be truncated (e.g., shortened to 40 characters), specifying the text for the truncation after the number to truncate (<code><nowiki>[40 more...]</nowiki></code>. A link which refers directly to those chapters will be generated automatically if needed. Be aware that truncating with <code><nowiki>[ ]</nowiki></code> can break text formatted with wikitext or tags such as <code><nowiki><nowiki></nowiki></code>.
<pre>
Line 29:
|count=5
}}
<noinclude>
[[Category:Setting the basic output mode]]
|