Différences entre les versions de « Issue/4586 »
De Semantic MediaWiki - Sandbox
(form) |
(new) |
||
Ligne 1 : | Ligne 1 : | ||
− | + | ; Refs | |
+ | * https://www.semantic-mediawiki.org/wiki/Thread:Help_talk:Special_characters_in_tooltips/Adding_a_tooltip | ||
+ | * https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/4586 | ||
− | {{#info: [[File:Lotus.png|220px|Lotus]] }} | + | ; Example 1 - code |
+ | <pre> | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|350px|Lotus]] |max-width=350 |theme=square-border }} | ||
+ | </pre> | ||
+ | |||
+ | ; Example 1 - result | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|350px|Lotus]] |max-width=350 |theme=square-border }} | ||
+ | |||
+ | ; Example 2 - code | ||
+ | <pre> | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like: [[File:Lotus.png|220px|Lotus]] |max-width=220 |theme=square-border-light }} | ||
+ | </pre> | ||
+ | |||
+ | ; Example 2 - result | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|220px|Lotus]] |max-width=220 |theme=square-border-light }} | ||
+ | |||
+ | [[Category:Semantic MediaWiki examples]] |
Version du 23 février 2020 à 13:31
- Refs
- https://www.semantic-mediawiki.org/wiki/Thread:Help_talk:Special_characters_in_tooltips/Adding_a_tooltip
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/4586
- Example 1 - code
{{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|350px|Lotus]] |max-width=350 |theme=square-border }}
- Example 1 - result
This is a picture showing how a Lotus flower looks like:<br>
- Example 2 - code
{{#info: This is a picture showing how a Lotus flower looks like: [[File:Lotus.png|220px|Lotus]] |max-width=220 |theme=square-border-light }}
- Example 2 - result
This is a picture showing how a Lotus flower looks like:<br>