Template:Preview Only Infobox

From HorizonXI Wiki
Revision as of 21:39, 3 December 2023 by Aramachus (talk | contribs) (added option to disable the preview only infobox e.g. for examples)


Usage

This Template will provide an infobox that is only visible in preview mode. Main usage is template documentation for very common templates with many options.

Note: The preview infobox can be disabled with the parameter "disable" e.g. when giving examples on other template pages. Disable can be set to anything, the infobox will only show if disable is empty.

Example:

{{Preview Only Infobox|<pre>
{{Mission Header
| Mission Name = {Name of the Mission}
| Expansion = {Series of the Missions}
| Start = {NPC name that starts the quest}
| Start Location = {Location template}
| Description = {Ingame Mission Description}
| Level = {Required Level to complete the Mission}
| Requirements = {Requirements to ACCEPT the Mission}
| Items Needed = {Items Needed to COMPLETE the Mission}
| Repeatable = {yes/no}
| Title = {Title(s) obtained thoughout the mission
| Rewards = {Rewards obtained for COMPLETING the Mission}
| Previous = {previous mission: link{{!}}name}
| Next = {next mission: link{{!}}name}
}}</ pre>