Template:Front page article: Difference between revisions
Jump to navigation
Jump to search
TrollSlaiyer (talk | contribs) (added the clap, trolling, and TGT Censored into the rotation) |
TrollSlaiyer (talk | contribs) (added unsettled tom and spyro in the rotation) |
||
Line 14: | Line 14: | ||
<option>{{Front page article/Trolling}}</option> | <option>{{Front page article/Trolling}}</option> | ||
<option>{{Front page article/TGT Censored}}</option> | <option>{{Front page article/TGT Censored}}</option> | ||
<option>{{Front page article/Unsettled Tom}}</option> | |||
<option>{{Front page article/Spyro}}</option> | |||
</choose> | </choose> | ||
</div> | </div> |
Revision as of 23:06, 18 July 2021
Usage
This selects a random article to display on the front page. The way this is done is by making another template and adding it as a possible option between the "choose" tags to be selected.
If you want to add an article to the rotation, create a page titled "Template:Front page article/(character/page name)" and add a short line of text describing the topic (you can just copy paste the first line on the page.) As well as an image and a link (displayed as "Read more...") to the actual page. Don't forget to use a div tag to move the text to the left. For example, the page should be like this:
[[File:(image)|left|x200px]] <div style="text-align:left"> insert text here [[(page name)|Read more...]] </div>
Then insert it into a set of "option" tags and it will be added to the rotation.