Template:Navbox filebrowser: Difference between revisions
Jump to navigation
Jump to search
m Testing, will undo if not working |
m test, again |
||
| Line 1: | Line 1: | ||
<table class="navbox" border="0" style="align-content: left; text-align: left"><tr><th colspan="16" style="border-left:2px solid #fdfdfd;width:100%;">Wii Filesystem <small> | <table class="navbox" border="0" style="align-content: left; text-align: left"><tr><th colspan="16" style="border-left:2px solid #fdfdfd;width:100%;">Wii Filesystem <small>[{{fullurl:Template:Navbox filebrowser/Directories/{{PAGENAME}}|action=edit}} edit]</small></th></tr><tr>{{#vardefine:dirlist|{{#ifeq: {{{1|<noinclude>dir</noinclude>}}}|dir|{{PAGENAME}}|{{BASEPAGENAME}}{{#vardefine: highlightDir|{{#titleparts: {{PAGENAME}}|1|-1}}}}}}}}{{#vardefine:continueFilebrowser|start}}<includeonly><td valign="top">{{Template:Navbox filebrowser/DriveList}}</td></includeonly>{{#while: |{{#var: continueFilebrowser}}|{{#vardefine: fileHierarchy|<td width="1px" valign="top"><table style="width: 150px; height: 250px; display:flex; flex-direction: column; overflow:auto"><includeonly>{{Template:Navbox filebrowser/Directories{{#var: dirlist}}}}</includeonly><noinclude>{{/DemoDisplay}}</noinclude>{{#vardefine: continueFilebrowser|{{#ifeq: {{#var: dirlist}}|{{BASEPAGENAME:{{#var: dirlist}}}}||continue}}}}{{#vardefine: highlightDir|{{#titleparts: {{#var: dirlist}}|1|-1}}}}{{#vardefine: dirlist|{{BASEPAGENAME:{{#var: dirlist}}}}}}</table></td>{{#var: fileHierarchy}}}}}}{{#var: fileHierarchy}}<td width="90%"></td></tr></table><includeonly>[[Category:Wii Filesystem]]</includeonly><noinclude> | ||
{{doc}}</noinclude> | {{doc}}</noinclude> | ||
Revision as of 22:14, 18 June 2026
| Wii Filesystem edit | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A Finder-like system appears here. | |||||||||||||||
This template creates a Finder-like file browser to organize the filesystem.
Usage
In directories
Placing {{Navbox filebrowser}} in a page will go to its directory on the wiki. For example, the template being on SD: will make it go through Template:Navbox filebrowser/DirectoriesSD:. This also applies to subfolders.
The three directories are
- Template:Navbox filebrowser/Directories/
- Template:Navbox filebrowser/DirectoriesSD:
- Template:Navbox filebrowser/DirectoriesDisc:
Subpages of each of those three are a subpage of the template as well.
Entry icons
In the directory templates, icons can be used.
{{Navbox filebrowser|dir}}for folders
{{Navbox filebrowser|file}}for files