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

De Semantic MediaWiki - Sandbox

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