Demo:Gallery/Redirects
From semantic-mediawiki.org
Help page · Ask questions · Post feedback
Please consider adopting examples to fit your environment since simple duplication may not create appropriate results.
Data presented on this page are for educational and demonstration purpose only.
Please consider adopting examples to fit your environment since simple duplication may not create appropriate results.
Data presented on this page are for educational and demonstration purpose only.
The icon [ ] will indicate that an image is redirected to a different target other than its original source.
Redirect from an image page[edit]
{{#ask: [[has image collection::city images]] |?Has description |?Has redirect |captionproperty=Has description |limit=4 |redirects=Has redirect |format=gallery }}
Redirect from a content page[edit]
Using a property[edit]
A redirect is identified by Has redirect
property from its corresponding content page.
{{#ask: [[Has species image::+]][[Has species kingdom::Plantae]] | ?Has species image = Image | ?Title = Title | ?Has redirect | format = gallery | limit= | imageproperty =Image | captionproperty=Title | redirects=Has redirect }}
Using =- option[edit]
A redirect is identified by =- option related to its content page.
{{#ask: [[Has species image::+]][[Has species kingdom::Plantae]] | ?Has species image = Image | ?Title = Title | ?Has redirect | format = gallery | imageproperty =Image | captionproperty=Title | redirects=- }}