« Issue/4586 » : différence entre les versions

De Semantic MediaWiki - Sandbox
(form)
(form)
Ligne 1 : Ligne 1 :
; Refs
== 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
== 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>


; Example 1 - result
;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
== Example 2 ==
; Code
<pre>
<pre>
{{#info: This is a picture showing how a Lotus flower looks like: [[File:Lotus.png|200px|Lotus]] |max-width=220 |theme=square-border-light }}
{{#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>


; Example 2 - result
; Result
{{#info: This is a picture showing how a Lotus flower looks like:<br> [[File:Lotus.png|200px|Lotus]] |max-width=220 |theme=square-border-light }}
{{#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

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> Lotus

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> Lotus

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.