Template:Float file/doc: Difference between revisions
Jump to navigation
Jump to search
(Removed invisible character U+200E ("Left-To-Right Mark").) |
m (ce, moved template categorization to template page) |
||
Line 1: | Line 1: | ||
Use this template to place an image beside an infobox (to the right of article text, but to the left of |
Use this template to place an image beside an infobox (to the right of the article text, but to the left of the infobox). |
||
This differs from standard right-aligned images, as those generally display beneath any infobox in the vicinity, rather than beside them. |
This differs from standard right-aligned images, as those generally display beneath any infobox in the vicinity, rather than beside them. |
||
== Usage == |
== Usage == |
||
⚫ | |||
This template takes a single parameter: The complete image code with brackets. |
|||
; First unnamed parameter |
|||
Example: |
|||
Complete wiki code for the image, including brackets. |
|||
== Examples == |
|||
⚫ | |||
{| class="wikitable" |
|||
! Code !! Result |
|||
|- |
|||
| <code><nowiki>{{float file|[[File:Tree.png|thumb|A tree.]]}}</nowiki></code> || {{float file|[[File:Tree.png|thumb|A tree.]]}} |
|||
|} |
|||
== See also == |
== See also == |
||
* {{tl|float file box}} |
* {{tl|float file box}} |
||
<includeonly> |
|||
{{category|Formatting templates}} |
|||
</includeonly> |
|||
<noinclude> |
<noinclude> |
||
{{category|Template documentation}} |
{{category|Template documentation}} |
Revision as of 20:01, 23 June 2022
Use this template to place an image beside an infobox (to the right of the article text, but to the left of the infobox).
This differs from standard right-aligned images, as those generally display beneath any infobox in the vicinity, rather than beside them.
Usage
{{ float file | <image wiki code> }}
- First unnamed parameter
Complete wiki code for the image, including brackets.
Examples
Code | Result |
---|---|
{{float file|[[File:Tree.png|thumb|A tree.]]}} |
See also
- {{float file box}}