|
|
Debatable Content (Template Help) The UA Wiki covers a fair amount of material which may be subject to multiple methods or viewpoints. By using a pair of Debatable templates ({{Debatable}} and {{DebatableBox}}, we can notify when a particular statement or piece of content has varying viewpoints and provide means to learn more about each method.
[edit] The Debatable TemplateThis template provides an inline superscript text and link to the content's DebatableBox sidebar. Example:
[edit] The DebatableBox TemplateThis template provides a sidebar in the section where it is called and is intended to provide a brief synopsis of the debatable content as well as links to further resources. The template accepts one unnamed parameter, which is the text to show in the sidebar. Links can be typed as normal wiki markup within the template call. For formatting purposes, this template call must be placed after the desired section heading, and before the start of that section's text. For example, to show the sidebar floating on the right side of the text under the "Debatable Content" heading, you would use the following markup:
Be aware that debatable content sidebar lengths, when longer than that of the section text, will carry over into the next section. The next section header will not "wait" for the sidebar to conclude.
[edit] Linking the two TemplatesThe two templates automatically create a link. The Div ID of the DebatableBox is "debatable", which is the anchor that the inline debatable superscript links to. For this reason, there should only be one DebatableBox per page, though there can be numerous inline comments which link to it.
|
| This page has been accessed 728 times. This page was last modified 14:58, 12 January 2012 by Jack Leach. Disclaimers |