Différences entre les versions de « Format result to table »

De Semantic MediaWiki - Sandbox

 
(27 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
[[Namedarg1‎::Named arg in template]]
+
A property value for the page: '''[[Namedarg1‎::Some kind of value]]'''
  
[[Category:Namedarg]]
+
= First property value not shown (named args=no)=
 +
* <code>introtemplate=</code>'''[[Template:Namedarg/intro|Namedarg/intro]]'''
 +
* <code>outrotemplate=</code>'''[[Template:Namedarg/fixedoutro|Namedarg/fixedoutro]]'''
  
= First property value =
+
== Not Working ==
* '''[[Template:Namedarg/intro]]'''
+
* <code>template=</code>'''[[Template:Namedargno2|Namedargno2]]'''
* '''[[Template:Namedarg/fixedoutro]]'''
+
{{#ask:[[Category:Namedarg]]
 +
| ?Namedarg1‎
 +
| format=template
 +
| template=Namedarg
 +
| introtemplate=Namedarg/intro
 +
| template=Namedargno2
 +
| outrotemplate=Namedarg/fixedoutro
 +
| named args=no
 +
}}
  
 +
== Working ==
 +
When adding noinclude tags to the template it works.
 +
* <code>template=</code>'''[[Template:Namedargno1|Namedargno1]]'''
 +
{{#ask:[[Category:Namedarg]]
 +
| ?Namedarg1‎
 +
| format=template
 +
| template=Namedarg
 +
| introtemplate=Namedarg/intro
 +
| template=Namedargno1
 +
| outrotemplate=Namedarg/fixedoutro
 +
| named args=no
 +
}}
  
== Not Working ==
+
== Working ==
* '''[[Template:Namedarg1]]'''
+
When adding a LF at the beginning of the template it works.
 +
* <code>template=</code>'''[[Template:Namedargno|Namedargno]]'''
 +
{{#ask:[[Category:Namedarg]]
 +
| ?Namedarg1‎
 +
| format=template
 +
| template=Namedarg
 +
| introtemplate=Namedarg/intro
 +
| template=Namedargno
 +
| outrotemplate=Namedarg/fixedoutro
 +
| named args=no
 +
}}
  
<pre>| {{{?somename|}}}
+
= First property value not shown (named args=yes) =
| {{{?Namedarg1|}}}
+
* <code>introtemplate=</code>'''[[Template:Namedarg/intro|Namedarg/intro]]'''
|-
+
* <code>outrotemplate=</code>'''[[Template:Namedarg/fixedoutro|Namedarg/fixedoutro]]'''
</pre>
 
  
 +
== Not Working ==
 +
* <code>template=</code>'''[[Template:Namedarg1|Namedarg1]]'''
 
{{#ask:[[Category:Namedarg]]
 
{{#ask:[[Category:Namedarg]]
 
| ?=somename
 
| ?=somename
Ligne 28 : Ligne 61 :
  
 
== Working ==
 
== Working ==
* '''[[Template:Namedarg]]'''
+
When adding a LF at the beginning of the template it works.
 
+
* <code>template=</code>'''[[Template:Namedarg|Namedarg]]'''
<pre>
 
| {{{?somename|}}}
 
| {{{?Namedarg1|}}}
 
|-
 
</pre>
 
 
 
 
{{#ask:[[Category:Namedarg]]
 
{{#ask:[[Category:Namedarg]]
 
| ?=somename
 
| ?=somename
Ligne 48 : Ligne 75 :
  
 
= Outro on first line =
 
= Outro on first line =
* [[Template:Namedarg/intro]]
+
When the outro (closing the table) is on the first line the tables are not under their "own" heading.
* [[Template:Namedarg]]
+
* <code>outrotemplate=</code>'''[[Template:Namedarg/standardoutro|Namedarg/standardoutro]]'''
* [[Template:Namedarg/standardoutro]]
 
  
== Working ==
+
== Heading 1 ==
 
{{#ask:[[Category:Namedarg]]
 
{{#ask:[[Category:Namedarg]]
 
| ?=somename
 
| ?=somename
Ligne 64 : Ligne 90 :
 
}}
 
}}
  
== Not Working ==
+
== Heading 2 ==
 
{{#ask:[[Category:Namedarg]]
 
{{#ask:[[Category:Namedarg]]
 
| ?=somename
 
| ?=somename
Ligne 71 : Ligne 97 :
 
| template=Namedarg
 
| template=Namedarg
 
| introtemplate=Namedarg/intro
 
| introtemplate=Namedarg/intro
| template=Namedarg1
+
| template=Namedarg
 
| outrotemplate=Namedarg/standardoutro
 
| outrotemplate=Namedarg/standardoutro
 
| named args=yes
 
| named args=yes
 
}}
 
}}
 +
 +
[[Category:Namedarg]]

Dernière version du 11 juillet 2017 à 10:21

A property value for the page: Some kind of value

First property value not shown (named args=no)

Not Working

Pagename Value
Format result to table Some kind of value

Working

When adding noinclude tags to the template it works.

Pagename Value
Format result to table Some kind of value

Working

When adding a LF at the beginning of the template it works.

Pagename Value
Format result to table Some kind of value

First property value not shown (named args=yes)

Not Working

Pagename Value

Working

When adding a LF at the beginning of the template it works.

Pagename Value

Outro on first line

When the outro (closing the table) is on the first line the tables are not under their "own" heading.

Heading 1

Pagename Value


Heading 2

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