Différences entre les versions de « SpecialSymbolsExample »

De Semantic MediaWiki - Sandbox

Balise : Éditeur de wikicode 2017
Balise : Éditeur de wikicode 2017
Ligne 9 : Ligne 9 :
 
{{SpecialSymbolsTemplate
 
{{SpecialSymbolsTemplate
 
|simple=no special symbols here!
 
|simple=no special symbols here!
|code=[jkldfajlf][[dsfa]]}{{}}||||{{}}}{][
+
|code=[jkldfajlf][[dsfa]]}{{}}{{!}}|||{{}}}{][
|precode=<pre>[jkldfajlf][[dsfa]]}{{}}||||{{}}}{][</pre>
+
|precode=<pre>[jkldfajlf][[dsfa]]}{{}}{{!}}|||{{}}}{][</pre>
 
}}
 
}}

Version du 23 octobre 2018 à 17:36

This page shows a template with a keyword parameter with special symbols in its value.

The template should display this value and set the semantic media wiki property Has code.

I would like to remove the need for <pre></pre> in the template argument and have the clean value set as Has code by the template in the SMW properties.

Note too the difficulty in getting the edit with form to correctly display the current value and insert a string with special characters into the template.


SIMPLE no special symbols here!
CODE
[jkldfajlf]dsfa}{{}}|



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