From Roll20 Wiki
Andreas J. (Talk | contribs) (add navbar template stuff) |
Andreas J. (Talk | contribs) m (→wiki navbar template) |
||
Line 98: | Line 98: | ||
==wiki navbar template== | ==wiki navbar template== | ||
template and stuff on hwo to create Navigation templates for the wiki, that can make it easier to navigate related wiki pages from the top of the page. Example: {{SidebarNav}} | template and stuff on hwo to create Navigation templates for the wiki, that can make it easier to navigate related wiki pages from the top of the page. Example: {{SidebarNav}} | ||
− | <pre> | + | <pre style="overflow:scroll;"> |
The main "Nav" template, which is linked to on pages, Such as {{SidebarNav}}, {{apibox}} or {{NavSheetDoc}}. At the bottom it uses {{apibox bottom}} to close of the Navigation template and make it work, no need to create a new template each time, so {{apibox bottom}} is fine: | The main "Nav" template, which is linked to on pages, Such as {{SidebarNav}}, {{apibox}} or {{NavSheetDoc}}. At the bottom it uses {{apibox bottom}} to close of the Navigation template and make it work, no need to create a new template each time, so {{apibox bottom}} is fine: | ||
------ | ------ |
Revision as of 11:26, 12 December 2020
Useful Stuff
<code><no wiki></no wiki></code> <code></code> ''' ''' '' '' {{notebox| }} {{orange| }} {{warning| }} ''Main Page:'' '''[[ ]]''' [[|right|thumbnail|400px|]] {{user profile|1223200|Andreas J.}} {{usercredit|1223200}} {{user profile||}} ~~~~ ==Related Pages== * [[Complete Guide to Macros & Rolls]] * [[Building Character Sheets]] * [[Andreas Guide to Sheet Development]] <br> <br> [[Category:Character Sheet Documentation]] [https://roll20.zendesk.com/hc/en-us/requests/new Help Center Ticket] <div class='diceroller'> /r 3d6+2 </div> {{pro only}} {{forum|category/18 Character & Compendium Forums}} link no extra icon {{user profile|157788|GiGs}} {{user profile|492849|Coal Powered Puppet}} {{user profile|162065|Keith Curtis}} {{user profile|1869955|Kraynic}} {{user profile|104025|The Aaron}} {{user profile|459831|Scott C.}} {| class="wikitable" style="float:right; margin-left: 10px;margin-right: 60px;" |+title |- |'''first''' | second row |- |''' ''' | |- |''' ''' | |}
strike out deleted material
Andreas J. Courtesy of Andreas J.
{{user profile|1223200|Andreas J.}} {{usercredit|1223200}}
char forums(Forum) link no extra icon
{{forum|category/18 char forums}} link no extra icon
easy · creatin · dot
easy{{dot}} creatin{{dot}}dot
random
Contents |
What is token for?
{{token|/r d20+4}} {{token| [[Journal]]}} {{compact toc}}
/r d20+4
template and stuff on hwo to create Navigation templates for the wiki, that can make it easier to navigate related wiki pages from the top of the page. Example:
Sidebar
q Text Chat
P Art Library
N Journal
i Compendium
u Jukebox
l Collections
y My Settings
The main "Nav" template, which is linked to on pages, Such as {{SidebarNav}}, {{apibox}} or {{NavSheetDoc}}. At the bottom it uses {{apibox bottom}} to close of the Navigation template and make it work, no need to create a new template each time, so {{apibox bottom}} is fine: ------ {{SidebarNav top|{{{1|right}}}}} * <span style="font-family:Pictos;">q</span> [[Text Chat]] * <span style="font-family:Pictos;">P</span> [[Art Library]] * <span style="font-family:Pictos;">N</span> [[Journal]] * <span style="font-family:Pictos;">y</span> [[Compendium]] * <span style="font-family:Pictos Custom;">u</span> [[Jukebox]] * <span style="font-family:Pictos;">l</span> [[Collections]] * <span style="font-family:Pictos;">y</span> [[My Settings]] {{apibox bottom}}<noinclude>{{documentation}}[[Category:Navigation Templates]]</noinclude> ------ The "Nav top" template, that determines the title of the Template: --- <includeonly><div style="float: {{{1|right}}}; width: 200px; padding: 5px; border: 1px solid #777; margin: 0 15px 15px 15px; background-color: #efefef;"> <span style="font-size: 1.4em; font-weight: bold;margin-bottom:0px;">[[Sidebar]]</span></includeonly><noinclude>{{documentation}}[[Category:Navigation Templates]]</noinclude> ------
template to-do
- pdf link template, shows pdf icon to url
- DriveThruRPG link template, shows DTrpg icon to url?
- Helpdesk, Roll20 Blog link templates
- code+nowiki template for macros, one without linebreak at the end.
Test
char forums(Forum)hopefully no linebreak
char forums(Forum)hopefully no linebreak
{{api repository link|Foo}} then text
Foo then text
this is a warning |
is Template:Font color yellow
is {{Font color|yellow|this}} yellow
code alternative BCS
To be or not <mark>tobey</mark> mcguire- someone
/r d20+5
/r d20+4
stuff
Contents
A
add
f
fine
s
stuff
d
data