MGSV Modding Wiki

View My GitHub Profile

Formatting Reference

Categories:Meta

Contents Contents:
  1. Headings
  2. General
  3. Images
  4. Lists
  5. Index lists (auto-generated)
  6. Section pages
  7. Tables
  8. Spoiler elements

This page covers formatting for Virtual Pages and the differences to the regular syntax. The differences mostly affect tables syntax, lack of custom classes and limited Liquid ‘includes’ support. Most Markdown formatting is identical though.

Further support for Liquid includes may be added in the future.

Click the spoiler labels to show each section.


Headings

Headings are identical to the regular syntax.


General

General is the same as the regular syntax, with the exception of lacking an {:.important} class feature for blockquotes.


Images

Unlike regular page syntax there’s no support for scaling the images smaller or aligning them to the left/right. So all images will appear their full width and centered.

Expand for more

 

![](/assets/45-0-1448484425.jpg)

Lists

Lists share the same syntax as the regular syntax, with the exception of lacking a {:.split} class feature.


Index lists (auto-generated)

Expand for more

 

Auto-generated index for multi-level section pages:

This can be used to auto populate a list of direct child pages of a virtual page section.

  • Section pages

{% include index-autolist type="section" %}

Note: nothing will appear in this example list since this page doesn’t contain child pages.


Tables

Tables differ in their syntax compared to the regular formatting, in that they always require headings (even if they’re empty) in order for the entire table to be rendered.

Also the {:.stretch} class feature is unsupported.

Expand for more

 

So for the Basic heading on that linked page instead of being headerless it necessitates empty headers as follows:

Basic:

First row text First row text First row text
Second row text Second row text Second row text
|                 |                 |                   |
|-----------------|-----------------|-------------------|
| First row text  | First row text  | First row text    |
| Second row text | Second row text | Second row text   |

Basic with compact syntax:

First row text First row text First row text
Second row text Second row text Second row text
| | | |
|-|-|-|
| First row text | First row text | First row text |
| Second row text | Second row text | Second row text |

Spoiler elements

Spoiler elements share the same syntax as the regular syntax, with the exception of lacking support for custom titles.