Template:Nav/doc: Difference between revisions

48 bytes added ,  06:01, 7 September 2021
No edit summary
 
Line 32: Line 32:
The show/hide functionality is added automatically to all navigation bars via javascript.  No user input is necessary.  The [[Template:tnav|tnav template]] is used to provide easy access to editing/discussion links.
The show/hide functionality is added automatically to all navigation bars via javascript.  No user input is necessary.  The [[Template:tnav|tnav template]] is used to provide easy access to editing/discussion links.
==Example==
==Example==
===Sample===
===Sample===
{{nav|header|DQI|Dragon Quest}}
{{nav|header|DQI|Dragon Quest|title=''Dragon Quest''}}
{{nav|section|Characters|
{{nav|section|Characters|
* [[Hero (Dragon Quest)|Hero]]
* [[Hero (Dragon Quest)|Hero]]
Line 47: Line 48:
}}
}}
{{nav|footer}}
{{nav|footer}}
===Code===
===Code===
<pre>
<pre>
{{nav|header|DQI|Dragon Quest}}
{{nav|header|DQI|Dragon Quest|title=''Dragon Quest''}}
{{nav|section|Characters|
{{nav|section|Characters|
* [[Hero (Dragon Quest)|Hero]]
* [[Hero (Dragon Quest)|Hero]]
224

edits