Examples/Parameter: mode (example 3): Difference between revisions
< Examples
imported>FrozenPlum (Created page with "<noinclude>{{note|Please '''do not edit''' this page unless you're wanting to edit the manual itself, it is an example included in the manual.|error}}</noinclude><!-- This is the example preloaded for testing, press "Show Preview" to see the example working (at the bottom of the page). If you save this page, it saves as a new section at the bottom of your '''User:Username/Sandbox''' --> ==Example== This will list articles in Category:Fruit examples as in-lin...") |
imported>FrozenPlum m (FrozenPlum moved page Controlling output format/Parameter: mode (example 3) to Examples/Parameter: mode (example 3): Simplifying how things are structured) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
==Example== |
==Example== |
||
This will list articles in [[:Category:Fruit examples]] as in-line (in paragraph) text, with inline text formatting like "Item1 • Item2 • Item3 • |
This will list articles in [[:Category:Fruit examples]] as in-line (in paragraph) text, with inline text formatting using <code>&nbsp;</code>, <code>&bull;</code>, and <code>&nbsp;</code> to create formatting like "Item1 • Item2 • Item3 •". |
||
<pre> |
<pre> |
||
{{#dpl: |
|||
|category = Fruit examples |
|||
|mode = inline |
|||
|inlinetext = &nbsp; &bull; &nbsp; |
|||
|count = 5 |
|||
}} |
|||
</dpl> |
|||
</pre> |
</pre> |
||
==Result== |
==Result== |
||
{{#dpl: |
|||
|category = Fruit examples |
|||
|mode = inline |
|||
|inlinetext = • |
|||
|count = 5 |
|||
}} |
|||
</dpl> |
|||
<noinclude> |
<noinclude> |
||
[[Category:Setting the basic output mode]] |
[[Category:Setting the basic output mode]] |
Latest revision as of 23:52, 31 March 2023
Example
This will list articles in Category:Fruit examples as in-line (in paragraph) text, with inline text formatting using
, •
, and
to create formatting like "Item1 • Item2 • Item3 •".
{{#dpl: |category = Fruit examples |mode = inline |inlinetext = • |count = 5 }}
Result
{{#dpl: |category = Fruit examples |mode = inline |inlinetext = • |count = 5 }}