wiki:syntax
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wiki:syntax [2023/09/13 18:47] – ↷ Links adapted because of a move operation nebelnidas | wiki:syntax [2026/10/22 17:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Formatting Syntax ====== | ====== Formatting Syntax ====== | ||
| - | [[doku> | + | [[doku> |
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
| Line 9: | Line 9: | ||
| DokuWiki supports **bold**, //italic//, __underlined__ and '' | DokuWiki supports **bold**, //italic//, __underlined__ and '' | ||
| Of course you can **__//'' | Of course you can **__//'' | ||
| + | |||
| + | Note that the formatting markers have to directly enclose the text, so '' | ||
| You can use < | You can use < | ||
| Line 137: | Line 139: | ||
| Resize to given width and height((when the aspect ratio of the given width and height doesn' | Resize to given width and height((when the aspect ratio of the given width and height doesn' | ||
| - | Resized external image: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
| Real size: {{wiki: | Real size: {{wiki: | ||
| Resize to given width: | Resize to given width: | ||
| Resize to given width and height: {{wiki: | Resize to given width and height: {{wiki: | ||
| - | Resized external image: {{https://secure.php.net/ | + | Resized external image: {{https://www.php.net/ |
| Line 156: | Line 158: | ||
| {{wiki: | {{wiki: | ||
| {{ wiki: | {{ wiki: | ||
| + | |||
| + | You can also set the alignment explicitly with a ''? | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki: | ||
| Of course, you can add a title (displayed as a tooltip by most browsers), too. | Of course, you can add a title (displayed as a tooltip by most browsers), too. | ||
| Line 375: | Line 383: | ||
| </ | </ | ||
| The same is true for %%// | The same is true for %%// | ||
| - | |||
| - | ===== map2fabricyarn Syntax ===== | ||
| - | To avoid code becoming outdated due to mappings changes, it is possible to write code blocks in Intermediary. This wiki's map2fabricyarn plugin adds '' | ||
| - | |||
| - | < | ||
| - | < | ||
| - | public static class_2248 TEST; | ||
| - | |||
| - | @Override | ||
| - | public void onInitialize() { | ||
| - | TEST = class_2378.method_10230(class_2378.field_11146, | ||
| - | } | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | |||
| - | < | ||
| - | public static class_2248 TEST; | ||
| - | |||
| - | @Override | ||
| - | public void onInitialize() { | ||
| - | TEST = class_2378.method_10230(class_7923.field_41175, | ||
| - | } | ||
| - | </ | ||
| - | The easiest way to create Intermediary code for '' | ||
| - | |||
| - | To remap without creating a code block, use the '' | ||
| - | Example: %%<yarn class_2960> | ||
| - | This tag can have formatting applied by the standard tags. | ||
| - | |||
| - | To output a fully qualified Yarn class name, input a fully qualified Intermediary name by prefixing it with '' | ||
| ===== Code Blocks ===== | ===== Code Blocks ===== | ||
wiki/syntax.txt · Last modified: by 127.0.0.1
