User:Fbstj/testing/page-prop

From The Coppermind
Jump to navigation Jump to search

Testing the <page-property /> tag

empty
ERROR: no key passed
non-empty
ERROR: no key passed
only-key
ERROR: no page passed
only-page
ERROR: no key passed

demonstrate both literal key and page

Cite:Arcanum-6737
2014-03-22

demonstrate template substitution of page attr

{{{page|Cite:Arcanum-6737}}}
2014-03-22

demonstrate template substitution of key attr

Cite:Arcanum-6737 (with key="{{{key|cite-date}}}"
2014-03-22

demonstrate page with space in title

Cite: Arcanum-6737
2014-03-22

demonstrate non-existent key on good page

non-existent key
ERROR: page 'Cite: Arcanum-6737' has no key 'bad-key' set

demonstrate literal no-key attr

no-value="NO VALUE"
NO VALUE

demonstrate template substitution of no-key attr

no-value="{{{no-value|?}}}"
?

demonstrate non-existent page

Cite:Arcanum-1234
2012-09-27

demonstrate literal no-page attr

no-page="NO PAGE"
2012-09-27

demonstrate template substitution of no-page attr

no-page="{{{no-page|?}}}"
2012-09-27
between tags
[[{{{page}}}]]: {{#time: F Y| {{{cite-date}}} }}
Cite: Arcanum-6737: March 2014


Redirects[edit]

property (artist) from page
Exmakina
property through redirect
Exmakina
property on redirect
this property is on a redirect
property on neither page or redirect
ERROR: page 'User:Fbstj/testing/page-prop/page-sans-property' has no key 'artist' set