Template:Front page article: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
(Created page with "<choose> <option>{{Front page article/Tails}}</option> <option>{{Front page article/Coyote}}</option> </choose> <noinclude> {{Clear}} ==Usage== This selects a random article...")
 
No edit summary
Line 2: Line 2:
<option>{{Front page article/Tails}}</option>
<option>{{Front page article/Tails}}</option>
<option>{{Front page article/Coyote}}</option>
<option>{{Front page article/Coyote}}</option>
<option>{{Front page article/Troll King}}</option>
</choose>
</choose>


Line 9: Line 10:
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.
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.) Add a "Read more..." by using <pre>[[(page name)|Read more...]]</pre> Then insert it into an option <pre><option></option></pre> tag and it will be added to the rotation.
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:
 
<pre>
[[File:(image)|left|200px]]
<div style="text-align:left">
insert text here
[[(page name)|Read more...]]
</div>
</pre>  
 
Then insert it into a set of "option" tags and it will be added to the rotation.
<noinclude/>
<noinclude/>

Revision as of 22:05, 26 April 2020

The Troll King is one of the main antagonists of Tails Gets Trolled. As his name suggests, he's the leader of The Trolls, a group he founded during the Middle Ages. He is a fearsome opponent, capable of shutting down his foes with a powerful shockwave or through the use of one of many Words of Death.

Read more...


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

tag to move the text to the left. For example, the page should be like this:
[[File:(image)|left|200px]]
<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.