Différences entre les versions de « Issue/4586 »
De Semantic MediaWiki - Sandbox
(new) |
m (Kghbln a déplacé la page Issue/4586 vers Issue/4586 : namefix) |
||
(7 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | {{#info: [[File:Lotus. | + | == 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 | ||
+ | <pre> | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|300px|Lotus]] |max-width=350 |theme=square-border }} | ||
+ | </pre> | ||
+ | |||
+ | ;Result | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|300px|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|200px|Lotus]] |max-width=250 |theme=square-border-light }} | ||
+ | </pre> | ||
+ | |||
+ | ; Result | ||
+ | {{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|200px|Lotus]] |max-width=250 |theme=square-border-light }} | ||
+ | |||
+ | [[Category:Semantic MediaWiki examples]] |
Dernière version du 23 février 2020 à 13:34
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|300px|Lotus]] |max-width=350 |theme=square-border }}
- 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|200px|Lotus]] |max-width=250 |theme=square-border-light }}
- Result
This is a picture showing how a Lotus flower looks like:<br>