Template:Front page article: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: 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.) 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:
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>
<pre>

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 div 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.