Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
DOORS Site Logo

Welcome to the Official DOORS Wiki!
Please read the Wiki Rules the Manual of Style and familiarise yourself with our Wiki Policies before contributing to get a better understanding of what content is allowed on our wiki and how to display it properly, if you need help don't hesitate to reach out to a DOORS Wiki Staff Member.

Template:Navbox/doc

Template page
< Template:Navbox
Revision as of 20:37, 23 August 2022 by Aeywoo (talk | contribs) (Added the Documentation subpage template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Edit-copy green.svg
This is a template documentation subpage for Template:Navbox.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
Description
This template is used to create a basic navigation box. You can do so by calling the template, via the steps under "Syntax", but it is recommended to copy the code verbatim via the steps under "Navbox Creation".
Navbox Creation

  1. Think of a name for your navbox, like "Navbox Foo". Type it in the above field, press the button, and save the page immediately. Be ready to return to this page to see the rest of the instructions.
  2. Edit the resulting page in source mode.
  3. Replace {{{header}}} with the text you would like to appear in the header.
  4. Replace {{{body}}} with the text you would like to appear in the body.
  5. To add another section, copy these four lines of code immediately below the lines in the existing code that they resemble:
|-
! style="padding:.2em .5em" nowrap="nowrap" class="color1" | {{{header}}}
|-
| style="padding:.2em .5em" | {{{body}}}

Save the page once you have added as many sections as you needed, and filled them with content. You may also want to create a /doc subpage explaining that to call the resulting template, one must only type {{Navbox Foo}}, or rather, whatever we decided to name the template in step 1.

Syntax
{{Navbox
|header=Land of Bob
|body=This [[place]] and that [[place]].
}}
Results in...
Land of Bob
This [[place]] and that [[place]].