Main Page/Video: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "<youtube width="([0-9]{1,3})" height="([0-9]{1,3})">([0-9A-Za-z-_]{11})<\/youtube>" to "{{#widget:YouTube|id=$3|width=$1|height=$2}}") |
m (Text replacement - "\[\[Category:Main page\|([^\]]+)\]\]" to "{{SUBPAGENAME}}") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 41: | Line 41: | ||
<pre> | <pre> | ||
<option> | <option> | ||
{{FeaturedVideo|Name| | {{FeaturedVideo|Name|{{#widget:YouTube|id=Youtube ID|width=280|height=170}}}} | ||
</option> | </option> | ||
</pre> | </pre> | ||
[[Category:Main | [[Category:Main page|{{SUBPAGENAME}}]]</noinclude> |
Latest revision as of 12:26, August 3, 2021
Featured: Halo: Anniversary Campaign Trailer
How to add an item
To add an item you need to use the following code. And replace the following words with the file name
- Name = The name of the Video
- Youtube ID = The youtube ID number goes here.
<option> {{FeaturedVideo|Name|{{#widget:YouTube|id=Youtube ID|width=280|height=170}}}} </option>