Template:Description/Doc

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Summary[edit]

This template saves a page's description to the database or loads a description from the database.

The save operation is only necessary for pages that do not use {{Place Summary}} or {{Quest Header}} or other related templates.

The load operation is only necessary for pages that do not use templates such as {{Quest Link}} or {{Place Link}}.

Parameters[edit]

Description
Parameter Scope Description
description or 1 required for saving This is the place/quest/etc. description.
show optional If saving, also display the description.
load required for loading This is the full name of the page from which the description is to be loaded.

Save Example[edit]

{{Description|This is the quest description.}}

This saves the string "This is the quest description." to the database for the current page.

Show Example[edit]

The quest is {{Description|a quest where the hero saves the day.|show=1}}

This saves the string "a quest where the hero saves the day." while also displaying it on the page.

Without the show parameter, the sentence would appear like this: "The quest is ", with the later half of the sentence missing.

But with the show parameter added, the sentence instead appears like this: "The quest is a quest where the hero saves the day.", with the full sentence displayed.

Load Example[edit]

{{Description|load=Oblivion:A Knife in the Dark}}

Loads the description from the Oblivion:A Knife in the Dark page and displays it: You must prove your worthiness to join the Brotherhood.