Introduction

This site uses a bespoke markup language for formatting. It is distinct from HTML, BBCode, and Wikitext, though it shares many features with the latter (Wikitext being the markup for MediaWiki, the Wiki system that you're probably most familiar with).
The markup described here applies to submission notes, wiki articles... everything on the site besides forum posts, which use a variant of BBCode.
This page explains all of the features of this customized markup language, which is developed with simplicity of editing in mind.

Paragraphs

Example: This is paragraph one.
This is paragraph two. There is a blank line in between.
You can force a line break without making a new paragraph with %%%, but it is not recommended. Example:
This paragraph
uses line breaks
excessively.
However, if your lines begin with a space, none of this happens. See preformatted text.

Lists

  1. This is a numbered list.
  2. In order to create a numbered list, put # at the start of each line.
    1. You can use ## and ### as in the previous example.
    • You can also mix # and *.
Example:
;Term to be defined: Your explanation appears here.
;TAS: A tool-assisted speedrun.
Turns into:
Term to be defined
Your explanation appears here.
TAS
A tool-assisted speedrun.
Hint: See the source code of this page to see how the markup works.

Headings

Four or more minus signs at the start of a line make a horizontal ruler. Example:

Emphasis

This is an example quote.

Preformatted text

In order to use preformatted text, such as indented code, use space as the first character of a line (monospace font).
Example: This is standard text
This is preformatted text using a monospace font (space as first character).
Here is an action scene:
   +__-+-       “One image says more than a thousand words.”
 --   \__|                                    _____ _:
              _____             ____    - -- |     | |_
     - - --- /  |__\__    --  _/ |__\|_    - O  ~  |   \
   _  -   __ `-o----o-'__    `-o-----o-'  __ `-oo--^--o-'
Notice the usage of '''' (four successive apostrophes) to break long strings of underscores to prevent them being interpreted as bold on/off.
Please use preformatted text for program source code and such only. Preformatted text does not line wrap and can break page layout if used incorrectly.
Linking to submissions
Construct the link from the movie ID and "S". For example, Rockman submission is #1032, so the link is written as: [1032S].
To add a custom description, write for example: [1032S|rockman submission]. The internal description can be seen when hovering over the link.
You can find the number from the URL of the submission.
Linking to movies
Construct the link from the movie ID and "M". For example, Rockman movie is movie 515, so the link is written as: [515M].
To add a custom description, write for example: [515M|rockman movie]. The internal description can be seen when hovering over the link.
You can find the number at in the URL of a publication page, or from a link on the movie module for the movie.
Linking to forum topics
Construct the link from "Forum/Topics/" and the topic ID. For example, the Gradius topic is written as [Forum/Topics/629|Gradius topic].
Linking to forum posts
Construct the link from "Forum/Posts/" and post ID. For example, the forum rules is written as [Forum/Posts/227916|forum rules].
Linking to forum profiles
Construct the link to the users profile simply use the user module with the user's username. For example for feos link with [user:feos]
Linking to other internal pages
To link to any other page, take the URL and replace “https://tasvideos.org/” with “=” (for simple links, the "=" can be omitted)
e.g. [Forum/Subforum/2], [=Wiki/PageHistory?path=TODO], [UserFiles/Info/637936906469759936]

Tables

Tables are created with lines that begin with vertical bars. ( | )
Double vertical bars ( || ) create headers.
Example:
||header1||header2||header3||header4||
|field1a|field2a| |field4a|
|field1b|field2b with [|] vertical bar|field3b with%%%a few words|field4b|
becomes:
header1header2header3header4
field1afield2a field4a
field1bfield2b with | vertical barfield3b with
a few words
field4b

To output a literal vertical bar in a table, surround it in brackets: [|]. To output empty cells, put a space between the cell edges.
To ensure that the table format and appearance is consistent (white lattice with border), every row should have one more vertical bar separator than the number of cells in a table row.

Mark-Up Language (HTML)

Table of contents

Tabs

To create tab entries, write as follows:
%%TAB header_text1%%
entry1
%%TAB header_text2%%
entry2
...
%%TAB header_textn%%
entryn
%%TAB_END%%
For example:
%%TAB Table of Pokémon%%
Bulbasaur, Venusaur, Ivysaur, and hundreds of others.
%%TAB Minimize tab%%
%%TAB_END%%
produces:
Bulbasaur, Venusaur, Ivysaur, and hundreds of others.
Important: There must be a newline after %%TAB_END%% or else it will not work.
Note: Headings can not be embedded in tabs

Directives:

%%TAB_START%%
Start a tabset. Usually only needed if you want nested tabs.
%%TAB_HSTART%%
Start a tabset with tabs on left side instead of top.
%%TAB <name>%%
Create a new tab. Starts a tabset if there isn't one.
%%TAB_END%%
End the innermost tabset.
Note: In the current implementation of the site, tabs are implemented with Javascript. It is not recommended to use them, because the tabs are not usable with Javascript-challenged browsers.

Source code

%%SRC_EMBED <hilighting>
Start block of code with specified hilighting type. Wiki markup is not processed inside this block.
%%END_EMBED
End a block of code.
function factorial(n)
  local x = 1
  for i = 2, n do
    x = x * i
  end
  return x
end

Quotations

%%QUOTE [<name>]
Start a quote block (If <name> is specified, that is shown to be quoted).
%%QUOTE_END
End a quote block. Automatically ends any nested tabs and divs.
Quoting Example Person
Example Quote

Divs

%%DIV <class>
Start a div block with given class <class>.
%%DIV_END
End a div block. Automatically ends any nested tabs and quotes.
Example card div header
Example card div body

Comments and if macros

e.g. [if:!UserIsLoggedIn]
(The ! reverses 1 and 0)
Other macros

Character set


[1]: This is an example of a footnote.
Expand/Collapse collapse-content-_8f719e036e094ae4a8e3677c6d413666

TextFormattingRules last edited by CoolHandMike on 4/28/2024 6:42 PM
Page History Latest diff List referrers View Source