Template:PageExists
From DDO Compendium
Revision as of 16:20, 23 September 2022 by MNDeveloper (talk | contribs) (Created page with "<noinclude>{{TemplateDocumentation |name = PageExists |description = This template is used in top level templates to put out different text if a specified page exists or doesnt. |category=Shared Templates |example1 = <nowiki>{{PageExists|Fortification|Found|Not Found}}</nowiki> |example1output = {{PageExists|Fortification|Found|Not Found}} |example2 = <nowiki>{{PageExists|Fortification2|Found|Not Found}}</nowiki> |example2output = {{PageExists|Fortification2|Found|Not Fo...")
PageExists[edit]
This template is used in top level templates to put out different text if a specified page exists or doesnt.
Example Usage | |
{{PageExists|Fortification|Found|Not Found}} | Found |
{{PageExists|Fortification2|Found|Not Found}} | Not Found |
Usage[edit]
{{PageExists|(Page)|(Found Value)|(Not Found Value)}}
Parameter Documentation | |
Page | This is page name to check to see if it exists |
Found Value | This is what is displayed if the specified page exists |
Not Found Value | This is what is displayed if the specified page does not exists |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.