Munurin millum rættingarnar hjá "Fyrimynd:Stack documentation"

272 bytes løgd afturat ,  8 mánaðir síðan
Replacing Test.png with File:Simple_shapes_example.png (by CommonsDelinker because: File renamed: Its an example and not a test file. Name is needed for a testfile.).
s (Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html])
(Replacing Test.png with File:Simple_shapes_example.png (by CommonsDelinker because: File renamed: Its an example and not a test file. Name is needed for a testfile.).)
 
--><syntaxhighlight lang="moin">
=====''Lipsum''=====
[[File:TestSimple shapes example.png|thumb|right|Example 1a]]
[[File:TestSimple shapes example.png|thumb|right|Example 1b]]
... text ...
 
=====''Lorem''=====
[[File:TestSimple shapes example.png|thumb|left|Example 1c]]
... text ...
 
--><syntaxhighlight lang="moin">
=====''Lipsum''=====
{{stack |[[File:TestSimple shapes example.png|thumb|right|Example 2a]] [[File:TestSimple shapes example.png|thumb|right|Example 2b]]}}
... text ...
 
=====''Lorem''=====
[[File:TestSimple shapes example.png|thumb|left|Example 2c]]
... text ...
 
====Without {{tlf|stack}}====
=====''Lipsum''=====
[[File:TestSimple shapes example.png|thumb|right|Example 1b]]
[[File:TestSimple shapes example.png|thumb|right|Example 2b]]
''{{lipsum}}''
 
=====''Lorem''=====
[[File:TestSimple shapes example.png|thumb|left|Example 3b]]
''{{lipsum}}''
 
----
=====''Lipsum''=====
{{stack|[[File:TestSimple shapes example.png|thumb|right|Example 1a]] [[File:TestSimple shapes example.png|thumb|right|Example 2a]]}}
''{{lipsum}}''
 
=====''Lorem''=====
[[File:TestSimple shapes example.png|thumb|left |Example 3a]]
''{{lipsum}}''
 
===More examples===
{{tlf|Stack}} can also be used to float one or more images across a page.
{{stack |[[File:TestSimple shapes example.png|80px]]}}
{{stack |[[File:TestSimple shapes example.png|120px]]}}
<pre style="width:25.0em;overflow:auto;">
{{stack|[[File:TestSimple shapes example.png|80px]]}}
{{stack|[[File:TestSimple shapes example.png|120px]]}}
</pre>
It might take some experience to learn how the box area floats, in combination with various images or [[WP:Wikitables|wikitables]] on a page. {{tlf|Stack}}'s operation is very quick, as it uses an [[HTML]] &lt;table> to achieve its effects.
1.124

rættingar