08. MyCode Reference
March 16, 2015, 01:14 PM
WOLF
Site Account

MyCode References


Wolf uses MyCode exclusively, over allowing direct HTML formatting. This offers the board more security, and also allows members to use shortcuts to achieve complicated formatting— or shortcuts to simply make linking to profiles and topics a bit faster.

Font Awesome Icons
Reference this cheatsheet: http://fortawesome.github.io/Font-Awesome/cheatsheet/
Code:
[icon=thumbs-up]
...will output:

Color swatch
Code:
[swatch=#0099ee] [swatch=red]
... will output:  #0099ee  red

OOC Notes
Code:
This is an OOC note for IC forums.
...will output:
This is an OOC note for IC forums.

Quote Tag
Code:
[q]This is speech![/q]
...will output: This is speech!

Hover Text
Code:
[hover=This will show on hover.]Hover on this text.[/hover]
...will output: Hover on this text.

Dice Rolls
Code:
[dice="1d10"]3[/dice]
...will output: 10 (random number between 1-10)

Link to a user's profile
Code:
[p=1]Wolf's Profile[/p]
...will output: Wolf's Profile

Link to a user's threadlog
Code:
[tlog=1]Wolf's Threadlog[/tlog]
...will output: Wolf's Threadlog

Link to a thread
Code:
[t=8407]MyCode Requests[/t]
...will output: MyCode Requests

Attribution
For attributing thread titles, quotes, etc.
Code:
[attr]Emalee the Wise[/attr]
...will output:
Emalee the Wise

Word of the Day
This might be important in the future... :)
Code:
Emalee will [wotd]inveigle[/wotd] you to love MyCode.
...will output: Emalee will inveigle you to love MyCode.

Header
A large font size for use as a heading.

Code:
This is a header.

...will output

This is a header.



Subheader
A large font size for use as a subheading.

Code:
This is a subheader.

...will output

This is a subheader.



Small font
A small font to de-prioritize certain text.
Code:
[small]This text is small.[/small]
...will output This text is small.

Large font
A large font to prioritize certain text.
Code:
[large]This text is large.[/large]
...will output This text is large.

Indent
Code:
[indent]Hello there
...will output:
        Hello there

—
Code:
[mdash]
...will output —

·
Code:
[middot]
...will output ·

Mature Warning
This must be used on threads that exceed a rating of L2S1V1. See Guidebook for full regulations.
Code:
[mature]Gory violence.[/mature]
...will output:

Mature Content Warning


This thread has been marked as mature. By reading and/or participating in this thread, you acknowledge that you are of age or have permission from your parents to do so.

The participants have indicated the following reason(s) for this warning: Gory violence.

Adjust size of an image
Code:
[img width=200]http://wolf-rpg.com/images/wolf-map-draft.jpg[/img]
...will output:

Adjust size & alignment of an image
Code:
[img width=200 align=right]http://wolf-rpg.com/images/wolf-map-draft.jpg[/img]
...will output:









Small Image w/ Credit
Code:
[credit=Emalee url=http://wolf-rpg.com/images/wolf-map-draft.jpg align=left]
...will output:

Artwork by Emalee













Narrow div

Code:
[narrow]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Donec elementum ligula eu sapien consequat eleifend. Donec nec dolor erat, condimentum sagittis sem. Praesent[/narrow]

...will output:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Donec elementum ligula eu sapien consequat eleifend. Donec nec dolor erat, condimentum sagittis sem. Praesent

Collapsable content
Note that the "uniqueID" portion of this code must be unique! We suggest prefixing with your character's username (e.g. wolfname-appearance).

Code:
[collapse-btn=uniqueID]Expand/collapse[/collapse-btn]
[collapse=uniqueID]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa[/collapse]



Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa

Columns
Everything is on a 12-column grid. So if you want two columns that are 50% each, use col=6 and col=6.

Code:
[row]
[col=4]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia[/col]
[col=8]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Donec elementum ligula eu sapien consequat eleifend. Donec nec dolor erat, condimentum sagittis sem. Praesent porttitor porttitor risus, dapibus rutrum ipsum gravida et. Integer lectus nisi, facilisis sit amet eleifend nec, pharetra ut augue. Integer quam nunc, consequat nec egestas ac, volutpat ac nisi. Sed consectetur dignissim dignissim. Donec pretium est sit amet[/col]
[/row]

will output...

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Donec elementum ligula eu sapien consequat eleifend. Donec nec dolor erat, condimentum sagittis sem. Praesent porttitor porttitor risus, dapibus rutrum ipsum gravida et. Integer lectus nisi, facilisis sit amet eleifend nec, pharetra ut augue. Integer quam nunc, consequat nec egestas ac, volutpat ac nisi. Sed consectetur dignissim dignissim. Donec pretium est sit amet

Progress bar
Code:
[progress=1/5 label=Label]

will output...

Label

Please don't send PMs to this account, as we don't check it very often and they may go unread! Instead, direct admin inquiries to our personal accounts as listed on the staff directory. Thank you!