« Issue/4586 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(form) |
(form) |
||
Ligne 1 : | Ligne 1 : | ||
== Refs == | |||
* https://www.semantic-mediawiki.org/wiki/Thread:Help_talk:Special_characters_in_tooltips/Adding_a_tooltip | * https://www.semantic-mediawiki.org/wiki/Thread:Help_talk:Special_characters_in_tooltips/Adding_a_tooltip | ||
* https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/4586 | * https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/4586 | ||
== Example 1 == | |||
; Code | |||
<pre> | <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 }} | {{#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> | </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 }} | {{#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> | <pre> | ||
{{#info: This is a picture showing how a Lotus flower looks like: [[File:Lotus.png|200px|Lotus]] |max-width= | {{#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> | </pre> | ||
; | ; Result | ||
{{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|200px|Lotus]] |max-width= | {{#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]] | [[Category:Semantic MediaWiki examples]] |
Version du 23 février 2020 à 13:33
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>