Demo:IfStatement

From PKC
Revision as of 06:07, 2 July 2021 by Benkoo (talk | contribs)
Jump to navigation Jump to search

This page tries to use a set of nested If Statement to demonstrate the logic of Template inclusion:

For example: If there is a book citation, it can be included using the PageName instruction.

{{:Cite:book:Working with MediaWiki}}

Koren, Yaron (2020). Working with MediaWiki (2nd ed.). local page: WikiWorks Press. ISBN 978-1540761149. 

This entry has many attributes, some of the attributes may have empty(null) value. The goal is to demonstrate that we can use the {{#If condition| YES | NO}} structure to determine how to show certain content or not.