From Roll20 Wiki
Andreas J. (Talk | contribs) (organize) |
Andreas J. (Talk | contribs) m |
||
(17 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | =Wiki= | ||
+ | This is a test area for using the wiki, and at the top has useful code snippets that are often used. [[Help:Contents|Wiki Help]] contains more info. | ||
− | + | {{code|does this <span>work</span> }}, even with text after? | |
+ | link <sup>[[File:Youtube-logo.png|middle|13px|link=https://www.youtube.com]]</sup> | ||
+ | |||
+ | {{LDL sunset}} | ||
==Useful Stuff== | ==Useful Stuff== | ||
+ | frequently used wiki code snippets that can easily be copypasted | ||
+ | |||
+ | <pre style="overflow:scroll;"> | ||
+ | <code><nowiki> </nowiki></code> use this to wrap around tricky code or macros you post on the wiki | ||
+ | <code></code> | ||
+ | <pre style="overflow:auto;" data-language="html/css/javascript"> </pre> good template to use for posting blocks of code on the wiki. change the "data-language" to only have the relevant code | ||
+ | |||
+ | |||
+ | <code><code></code> <code><nowiki></code> <code><pre></code> html replacements to show tricky stuff | ||
+ | <span> <div> <input type="text"> | ||
+ | |||
+ | ''' ''' bold text | ||
+ | '' '' italic text | ||
+ | <sup> </sup> superscript, small text slighty higher, useful for adding citations | ||
+ | {{tlx|}} link to template | ||
+ | |||
+ | {{notebox| }} normal textbox with blue border and "i" symbol. the common "mild" notice to use | ||
+ | {{orange| }} warning textbox with orange border and "i" symbol, slighty more severe than normal | ||
+ | {{warning| }} warning textbox with red border, and "i" symbol in a triangle, to be used sparring for dire warnings | ||
+ | |||
+ | ''Main Page:'' '''[[ ]]''' | ||
+ | |||
+ | [[|right|thumbnail|400px|]] good default for images, place the "File:imagename.png" before the first "|" | ||
+ | |||
+ | {{user profile|1223200|Andreas J.}} | ||
+ | {{usercredit|1223200}} | ||
+ | {{user profile||}} links to user roll20 profile. place their roll20id in the first section, and then write their name in the second section. | ||
+ | |||
+ | ~~~~ adds a timestamp and your name, quick way to sign your name on something, showing who and when something was written | ||
+ | |||
+ | |||
+ | {{forum|category/18 Character & Compendium Forums}} forum link without the extra "lock" icon, that links outside the wiki usually gets | ||
+ | {{Repo Sheet}} githublink to char sheet repo showing github logo, great for showing links to stuff on github.com | ||
+ | {{Repo API}} | ||
+ | {{bug}} hyperlink to roll20's ticket system | ||
+ | |||
+ | {{pro only}} adds a noticebox to the section/page saying this is a pro/plus feature, linking to the plus/pro pages | ||
+ | {{plus only}} | ||
+ | |||
+ | {{user profile|157788|GiGs}} roll20 contributors who have created many of the tips listed on the wiki. for properly crediting people | ||
+ | {{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.}} | ||
+ | |||
+ | ==Related Pages== | ||
+ | * [[Complete Guide to Macros & Rolls]] | ||
+ | * [[Building Character Sheets]] | ||
+ | * [[Andreas Guide to Sheet Development]] | ||
+ | <br> | ||
+ | <br> | ||
+ | [[Category:Character Sheet Documentation]] | ||
+ | |||
+ | |||
+ | <div class='diceroller'> you can embed a simplified version of the roll20 diceroller on a page, such as /r 3d6+2 | ||
+ | </div> | ||
+ | |||
+ | how to create a table grid | ||
+ | {| class="wikitable" style="float:right; margin-left: 10px;margin-right: 60px;" | ||
+ | |+title | ||
+ | |- | ||
+ | |'''first''' | ||
+ | | second row | ||
+ | |- | ||
+ | |''' ''' | ||
+ | | | ||
+ | |- | ||
+ | |''' ''' | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | |||
+ | </pre> | ||
+ | |||
<strike>strike out deleted material</strike> | <strike>strike out deleted material</strike> | ||
Line 22: | Line 102: | ||
easy{{dot}} creatin{{dot}}dot | easy{{dot}} creatin{{dot}}dot | ||
</pre> | </pre> | ||
+ | |||
+ | ==random== | ||
+ | __TOC__ | ||
+ | |||
+ | Sub & Sup text underneath each other: Example<div style="display: inline-block;"><sup style="display:block; position:relative; left:2px; top: 16px"><sup> Help</sup></sup><sub style="display:block; position:relative; left:2px; top: 1px"><sub>Center</sub></sub></div> | ||
+ | |||
What is token for? | What is token for? | ||
Line 32: | Line 118: | ||
{{token|/r d20+4}} | {{token|/r d20+4}} | ||
{{token| [[Journal]]}} | {{token| [[Journal]]}} | ||
− | |||
+ | ==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}} | ||
+ | <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: | ||
+ | |||
+ | |||
+ | ----- | ||
+ | toolbar nav templates | ||
+ | * {{zoom}} | ||
+ | * {{select}} | ||
+ | * {{ruler}} | ||
+ | * {{layers}} | ||
+ | * {{drawing}} | ||
+ | * {{fx tool}} | ||
+ | * {{fow}} | ||
+ | * {{Darkness}} | ||
+ | |||
+ | ------ | ||
+ | {{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> | ||
+ | ------ | ||
+ | |||
+ | </pre> | ||
+ | |||
+ | toolbar nav templates | ||
+ | * {{zoom}} | ||
+ | * {{select}} | ||
+ | * {{ruler}} | ||
+ | * {{layers}} | ||
+ | * {{drawing}} | ||
+ | * {{fx tool}} | ||
+ | * {{fow}} | ||
+ | * {{Darkness}} | ||
==template to-do== | ==template to-do== | ||
Line 39: | Line 171: | ||
* pdf link template, shows pdf icon to url | * pdf link template, shows pdf icon to url | ||
* DriveThruRPG link template, shows DTrpg icon to url? | * DriveThruRPG link template, shows DTrpg icon to url? | ||
− | * | + | * Helpdesk, Roll20 Blog link templates |
− | * code+nowiki template for macros | + | * code+nowiki template for macros, one without linebreak at the end. |
==Test== | ==Test== | ||
+ | |||
+ | {{forum|category/18 char forums}}hopefully no linebreak | ||
+ | |||
+ | {{forum|category/18/ char forums}}hopefully no linebreak | ||
[[File:SWD6 sheet.png|410px|thumb|right|link=5E|image links to a page]] | [[File:SWD6 sheet.png|410px|thumb|right|link=5E|image links to a page]] | ||
+ | |||
+ | <pre> {{api repository link|Foo}} then text</pre> | ||
+ | |||
+ | {{api repository link|Foo}} then text | ||
{{warning|this is a warning}} | {{warning|this is a warning}} | ||
− | is {{Font color|yellow|this}} yellow | + | is <nowiki>{{Font color|yellow|this}}</nowiki> yellow |
<pre> | <pre> | ||
− | is {{Font color|yellow|this}} yellow | + | is <nowiki>{{Font color|yellow|this}}</nowiki> yellow |
</pre> | </pre> | ||
Line 67: | Line 207: | ||
{{token|/r d20+4}} | {{token|/r d20+4}} | ||
− | {{token| [[Journal]]}} | + | {{token| [[Journal]]}} stuff |
{{compact toc}} | {{compact toc}} | ||
Line 77: | Line 217: | ||
=s= | =s= | ||
stuff | stuff | ||
− | = | + | =sidebar= |
− | + | ||
+ | personal sidebar seems nice, as seen on many [[Online_Role_Playing:Index]] pages. | ||
+ | |||
+ | {{Sidebar | ||
+ | | navbar = off | ||
+ | | headingstyle = background-color:#eee; | ||
+ | | image = [[File:|260px]] | ||
+ | }} | ||
+ | {{Sidebar | ||
+ | | navbar = off | ||
+ | | headingstyle = background-color:#eee; | ||
+ | | title = the name | ||
+ | | image = [[File:Us.png|40px]] | ||
+ | | heading1 = aka nickanme | ||
+ | }} | ||
+ | {{Sidebar | ||
+ | | navbar = off | ||
+ | | headingstyle = background-color:#eee; | ||
+ | | image = [[File:Twitch.png|40px|link=https://www.twitch.tv/Roll20app]][[File:Youtube.png|40px|link=https://www.youtube.com/roll20app]] | ||
+ | }} | ||
+ | |||
+ | <pre {{pre}}> | ||
+ | {{Sidebar | ||
+ | | navbar = off | ||
+ | | headingstyle = background-color:#eee; | ||
+ | | image = [[File:|260px]] | ||
+ | }} | ||
+ | {{Sidebar | ||
+ | | navbar = off | ||
+ | | headingstyle = background-color:#eee; | ||
+ | | title = the name | ||
+ | | image = [[File:Us.png|40px]] | ||
+ | | heading1 = aka nickanme | ||
+ | }} | ||
+ | {{Sidebar | ||
+ | | navbar = off | ||
+ | | headingstyle = background-color:#eee; | ||
+ | | image = [[File:Twitch.png|40px|link=https://www.twitch.tv/Roll20app]][[File:Youtube.png|40px|link=https://www.youtube.com/roll20app]] | ||
+ | }} | ||
+ | </pre> |
Revision as of 17:20, 19 February 2021
Wiki
This is a test area for using the wiki, and at the top has useful code snippets that are often used. Wiki Help contains more info.
does this work
, even with text after?
Legacy Dynamic Lighting(LDL) will be discontinued at some point,but the exact date have been postponed.
|
Useful Stuff
frequently used wiki code snippets that can easily be copypasted
<code><nowiki> </nowiki></code> use this to wrap around tricky code or macros you post on the wiki <code></code> <pre style="overflow:auto;" data-language="html/css/javascript"> </pre> good template to use for posting blocks of code on the wiki. change the "data-language" to only have the relevant code <code><code></code> <code><nowiki></code> <code><pre></code> html replacements to show tricky stuff <span> <div> <input type="text"> ''' ''' bold text '' '' italic text <sup> </sup> superscript, small text slighty higher, useful for adding citations {{tlx|}} link to template {{notebox| }} normal textbox with blue border and "i" symbol. the common "mild" notice to use {{orange| }} warning textbox with orange border and "i" symbol, slighty more severe than normal {{warning| }} warning textbox with red border, and "i" symbol in a triangle, to be used sparring for dire warnings ''Main Page:'' '''[[ ]]''' [[|right|thumbnail|400px|]] good default for images, place the "File:imagename.png" before the first "|" {{user profile|1223200|Andreas J.}} {{usercredit|1223200}} {{user profile||}} links to user roll20 profile. place their roll20id in the first section, and then write their name in the second section. ~~~~ adds a timestamp and your name, quick way to sign your name on something, showing who and when something was written {{forum|category/18 Character & Compendium Forums}} forum link without the extra "lock" icon, that links outside the wiki usually gets {{Repo Sheet}} githublink to char sheet repo showing github logo, great for showing links to stuff on github.com {{Repo API}} {{bug}} hyperlink to roll20's ticket system {{pro only}} adds a noticebox to the section/page saying this is a pro/plus feature, linking to the plus/pro pages {{plus only}} {{user profile|157788|GiGs}} roll20 contributors who have created many of the tips listed on the wiki. for properly crediting people {{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.}} ==Related Pages== * [[Complete Guide to Macros & Rolls]] * [[Building Character Sheets]] * [[Andreas Guide to Sheet Development]] <br> <br> [[Category:Character Sheet Documentation]] <div class='diceroller'> you can embed a simplified version of the roll20 diceroller on a page, such as /r 3d6+2 </div> how to create a table grid {| 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: ----- toolbar nav templates * {{zoom}} * {{select}} * {{ruler}} * {{layers}} * {{drawing}} * {{fx tool}} * {{fow}} * {{Darkness}} ------ {{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> ------
toolbar nav templates
- s Zoom Tool
- w/ Select/Move Tool
- Ruler
- b Layers
- i Drawing Tools
- e Fx Tool
- C Fog of War
- Darkness Tool
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 {{Font color|yellow|this}} 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
A
add
f
fine
s
stuff
sidebar
personal sidebar seems nice, as seen on many Online_Role_Playing:Index pages.
[[File:|260px]] |
the name |
---|
aka nickanme |
{{Sidebar | navbar = off | headingstyle = background-color:#eee; | image = [[File:|260px]] }} {{Sidebar | navbar = off | headingstyle = background-color:#eee; | title = the name | image = [[File:Us.png|40px]] | heading1 = aka nickanme }} {{Sidebar | navbar = off | headingstyle = background-color:#eee; | image = [[File:Twitch.png|40px|link=https://www.twitch.tv/Roll20app]][[File:Youtube.png|40px|link=https://www.youtube.com/roll20app]] }}