Difference between revisions of "Demo:IfStatement"

From PKC
Jump to navigation Jump to search
Line 2: Line 2:


For example: If there is a book citation, it can be included using the <code>{{:PageName}}</code> instruction.
For example: If there is a book citation, it can be included using the <code>{{:PageName}}</code> instruction.
  <code>{{:Cite:book:Working with MediaWiki}}</code>
  <nowiki>{{:Cite:book:Working with MediaWiki}}</nowiki>


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

Revision as of 06:04, 2 July 2021

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.