The UESPWiki – Your source for The Elder Scrolls since 1995
####################
# Template:Include #
#################################################################################
# This template is designed to include (transclude, insert) the text of a #
# specified page (or pages) but ONLY if the page exists. It can be provided up #
# to 3 possible pages, in which case it will include the first of the pages that#
# exist and skip the rest. #
# #
# Its advantage over directly using the standard wiki-function {{#ifexist:}} is #
# that if a given page is not used, then the page is completely skipped. With #
# a simple ifexist-clause, an unused page is actually still expanded into the #
# article, causing unnecessary overhead when parsing the page, and causing a #
# link between the page and the article (i.e., the page shows up in templates #
# used by the article; the article shows up in what-links-here for the page; #
# etc.). This template causes an empty template, [[Template:X0]] to be used in #
# place of the unused page. #
# #
# Syntax: #
# Up to 3 unnamed parameters provide the names of the pages to try including. #
# Only the first page that exists is used. #
# prefix = optional text to display before the page contents (only shown if #
# a page exists) #
# else = optional text to display if no page exists #
# #
# Example: #
# {{Include|Oblivion:NotAPage|Oblivion:Nirnroot|Oblivion:Corn #
# |prefix=Page contents are:<br>|else:No page exists}} #
# Only the contents of Oblivion:Nirnroot will be displayed #
#################################################################################