Glorious Wiki readers. We are adding the Midnight Magic video and livestream to the wiki. We appreciate your patience as we process the new and updated information!

“Help:Embedding images and videos”的版本间差异

来自Ashes of Creation Wiki
跳到导航 跳到搜索
Lex讨论 | 贡献
第71行: 第71行:
 
<pre>https://twitch.tv/yourvod?t=HHhMMmSSs</pre>
 
<pre>https://twitch.tv/yourvod?t=HHhMMmSSs</pre>
  
where HHMMSS is the number of hours, minutes and seconds to start the video. For example:
+
where HHhMMmSSs is the number of hours, minutes and seconds to start the video. For example:
  
 
<pre>https://twitch.tv/yourvod?t=00h02m05s</pre>
 
<pre>https://twitch.tv/yourvod?t=00h02m05s</pre>
  
 
will start the VOD at the 2 minute and 5 second mark.
 
will start the VOD at the 2 minute and 5 second mark.

2017年10月15日 (日) 16:18的版本

Images and videos enrich the content of the wiki. There are several methods to embed these resources in the wiki.

Embedding images

We recommend using embedded images in the following formats.

Thumbnail images

These appear on the right-hand side of the wiki page with a caption below them. The recommended size is 400px.

Use the following markup:

[[File:yourfile.png|thumb|400px|Your caption goes here.]]

Example: 坐騎

Footnote images

These appear in the {{Notes}} section at the bottom of the wiki page. The recommended size for footnote images is 350px.

Use the following markup:

<ref>[[File:yourfile.png|350px]]</ref>

Example: Tul'nar

Embedding video

We recommend using embedded video as thumbnails in the following formats. The recommended size is 400px.

Uploaded video files

Use the following markup for video files that have been uploaded to the wiki:

[[File:yourfile.mp4|thumb|400px|Your caption goes here.]]

Example: Nodes#Node advancement

Note that file sizes are limited on the wiki, so only use this option for small video files (under 100Mb).

YouTube videos

Use the following markup for videos linked from YouTube:

<youtube alignment="right" container="frame" dimensions="400" description="Your caption goes here.">https://youtu.be/yourvideo?t=START</youtube>

Example: 個人土地房

YouTube start time

Embed a start time in the video link as follows:

https://youtu.be/yourvideo?t=START

where START is the number of seconds to start the video. For example:

https://youtu.be/yourvideo?t=125

will start the video at the 2 minute and 5 second mark.

Twitch videos

Use the following markup for videos (VODs) linked from Twitch:

<twitchvod alignment="right" container="frame" dimensions="400" description="Your caption goes here.">https://twitch.tv/yourvod?t=HHhMMmSSs</twitchvod>

Twitch start time

Embed a start time in the VOD link as follows:

https://twitch.tv/yourvod?t=HHhMMmSSs

where HHhMMmSSs is the number of hours, minutes and seconds to start the video. For example:

https://twitch.tv/yourvod?t=00h02m05s

will start the VOD at the 2 minute and 5 second mark.