ADP Wiki:Style Guide: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== | == Adding Images == | ||
Individual images look good when rendered at 360px wide. | |||
<syntaxhighlight lang="WikiText"> | |||
[[File:VolumeI-Cover.jpg|360px]] [[File:VolumeI-Vinyl-Dice-Sardines-Sleeve.jpg|360px]] | |||
</syntaxhighlight> | |||
...outputs... | |||
[[File:VolumeI-Cover.jpg|360px]] [[File:VolumeI-Vinyl-Dice-Sardines-Sleeve.jpg|360px]] | |||
== Adding YouTube videos == | |||
This is done using the installed YouTube widget. Grab the video's code from its YouTube URL. | This is done using the installed YouTube widget. Grab the video's code from its YouTube URL. | ||
Similarly, we can display them at 360px wide to match the dimensions when inserting images with the code above. | |||
<syntaxhighlight> | <syntaxhighlight lang="WikiText"> | ||
{{#widget:YouTube|id=akGGOHwoyL0|width=360|height=203}} | {{#widget:YouTube|id=akGGOHwoyL0|width=360|height=203}} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
...outputs... | |||
{{#widget:YouTube|id=akGGOHwoyL0|width=360|height=203}} | |||
Revision as of 16:05, 7 November 2026
Adding Images
Individual images look good when rendered at 360px wide.
[[File:VolumeI-Cover.jpg|360px]] [[File:VolumeI-Vinyl-Dice-Sardines-Sleeve.jpg|360px]]
...outputs...
Adding YouTube videos
This is done using the installed YouTube widget. Grab the video's code from its YouTube URL.
Similarly, we can display them at 360px wide to match the dimensions when inserting images with the code above.
{{#widget:YouTube|id=akGGOHwoyL0|width=360|height=203}}
...outputs...