This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation:website:markup [2020/09/23 23:49] – [Website: Markup] Martijn Luinstra | documentation:website:markup [2025/02/19 15:46] (current) – [Mailinglist] Marcus Persson | ||
---|---|---|---|
Line 14: | Line 14: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
+ | * '' | ||
Use any of these like | Use any of these like | ||
Line 25: | Line 26: | ||
You can do any url: | You can do any url: | ||
< | < | ||
+ | |||
+ | Or add some classes to make it a button: | ||
+ | < | ||
It also renders naked links and email addresses properly. | It also renders naked links and email addresses properly. | ||
Line 30: | Line 34: | ||
===== Images ===== | ===== Images ===== | ||
< | < | ||
- | Or add the '' | + | Or add the '' |
< | < | ||
===== Videos ===== | ===== Videos ===== | ||
- | < | + | < |
+ | [video=https:// | ||
+ | [video=https:// | ||
+ | </ | ||
===== YouTube ===== | ===== YouTube ===== | ||
Line 42: | Line 49: | ||
< | < | ||
[table noborder] | [table noborder] | ||
- | || table row 0 cell 0 || table row 0 cell 1 || table row 0 cell 2 || | + | |^ table row 0 cell 0 |^ table row 0 cell 1 |^ table row 0 cell 2 || |
|| table row 1 cell 0 || table row 1 cell 1 || table row 1 cell 2 || | || table row 1 cell 0 || table row 1 cell 1 || table row 1 cell 2 || | ||
|| table row 2 cell 0 || table row 2 cell 1 || table row 2 cell 2 || | || table row 2 cell 0 || table row 2 cell 1 || table row 2 cell 2 || | ||
Line 48: | Line 55: | ||
</ | </ | ||
- | (noborder adds a css class that removes the border) | + | '' |
+ | |||
+ | '' | ||
===== Mailinglist ===== | ===== Mailinglist ===== | ||
- | < | + | < |
Includes a subscribe button for a mailinglist by ID. | Includes a subscribe button for a mailinglist by ID. | ||
+ | ===== Members only content ===== | ||
+ | < | ||
+ | or | ||
+ | < | ||
+ | Will hide content for non-members and show a link to the login page instead. Supports an optional call to action to label the hidden content more clearly. | ||
+ | |||
+ | The hidden content can contain any other markup. | ||
+ | |||
+ | If you need more control over the call to action, you can use the '' | ||
+ | |||
+ | < | ||
+ | [publiconly] | ||
+ | Log in to see the [b]secret[/ | ||
+ | [/ | ||
+ | Ooh! So secret! | ||
+ | [url.button.is-primary.is-large.is-fullwidth=https:// | ||
+ | [/ | ||
+ | </ | ||
+ | ===== Public only content ===== | ||
+ | < | ||
+ | |||
+ | The hidden content can contain any other markup. | ||
===== Summary ===== | ===== Summary ===== | ||
Line 59: | Line 90: | ||
This is used on committee pages (and some other pages) to provide a summary. | This is used on committee pages (and some other pages) to provide a summary. | ||
+ | ===== Member Block ===== | ||
+ | |||
+ | We have implemented this block specifically for the board page, so that board members can also present themselves individually with a short text, but it can be used in multiple instances. | ||
+ | |||
+ | This is the syntax: | ||
+ | < | ||
+ | [member name="< | ||
+ | < | ||
+ | [/member] | ||
+ | </ | ||
+ | |||
+ | The //name// parameter is required, while // | ||
+ | |||
+ | If multiple instances of this block are present on a page, then they are automatically alternating between left image, right description and left description, | ||
+ | |||
+ | ===== FontAwesome (icons) ===== | ||
+ | To insert icons anywhere on the website (specifically fontawesome icons), you can use this shortcode: | ||
+ | < | ||
+ | [fontawesome icon=" | ||
+ | </ | ||
+ | |||
+ | The //label// parameter is optional, but recommended for SEO and accessibility reasons. The //icon// parameter value can be taken from the fontawesome cheatsheet, which can be found here: https:// | ||
==== Weird stuff ==== | ==== Weird stuff ==== | ||
- | * ''< | + | * ''< |
- | * ''< | + | |
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
- | * ''<: |