Semantic Forms URL demo test
Jump to navigation
Jump to search
Template parameter name | Property data type | form input type | Result |
---|---|---|---|
f_URL_link_text | string | default | |
f_URL | URL | Default | http://www.mediawiki.org/wiki/Extension:Semantic Forms/ |
f_URL_free_string | string | default | http://www.mediawiki.org/wiki/Extension:Semantic_Forms/ |
f_URL_string_URL_input | string | regexp | http://www.mediawiki.org/wiki/Extension:Semantic_Forms/ |
f_Wiki_formatted_link | string | default | [[Has URL in wiki format::Semantic Forms]] |
Location/link text combinations (good, bad and ugly ...)
Source | Result | Works |
---|---|---|
[{{{f_URL_free_string|}}} {{{f_URL_link_text|}}}]
|
[1] | ok, no semantics |
[{{{f_URL_string_URL_input|}}} {{{f_URL_link_text|}}}]
|
[2] | ok, no semantics |
[{{{f_URL|}}} {{{f_URL_link_text|}}}]
|
[3] | ok, no semantics |
{{{f_URL|web page}}}
|
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/ | not ok, no semantics |
[[Has URL::{{{f_URL|web page}}}]]
|
http://www.mediawiki.org/wiki/Extension:Semantic Forms/ | not ok, no semantics |
[[Has URL::{{{f_URL|}}}|web page]]
|
web page | ok, one missing property |
[[Has URL::{{{f_URL|}}}| {{{f_URL_link_text|}}}]]
|
ok, but one missing property | |
[[[Has URL::{{{f_URL|}}}]] [[Has URL link text::{{{f_URL_link_text|}}}]]]
|
"[Has URL" contains a listed "[" character as part of the property label and has therefore been classified as invalid. ] | bad |
[[Has URL::{{{f_URL|}}}| {{{f_URL_link_text|}}}]] <span style="display:none">[[Has URL link text::{{{f_URL_link_text|}}}]] </span>
|
ok, but relies on CSS | |
{{#set:Has URL={{{f_URL|}}} }}
{{#set:Has URL link text={{{f_URL_link_text|}}} }}
[{{{f_URL}}} {{{f_URL_link_text}}}]
|
best solution (thanx to Yaron Koren) |