Difference between revisions of "Talk:Portal:Main"

From TED Translators Wiki
Jump to: navigation, search
m
m (Ensuring that the random counter knows there is one extra page to choose from)
Line 15: Line 15:
  
 
===Ensuring that the random counter knows there is one extra page to choose from===
 
===Ensuring that the random counter knows there is one extra page to choose from===
 +
# Now go to the page [[:Template:Portal:Main/Quotes]].
 +
# The text on this page looks like this:
 +
::<nowiki>{{Random subpage|page=Portal:Main/Quotes|start=1|end=13|seed=2}}</wiki>
 +
 +
::Set the number after "end" to the number of the subpage you just created. This means the portal picks a random quote from among 13 possible subpages.
  
 
==How do I select an extra article for the "Selected articles" section of the portal?==
 
==How do I select an extra article for the "Selected articles" section of the portal?==

Revision as of 09:14, 26 August 2011

How do I create an extra "Quote" for the portal?

Adding the extra quote

  1. Go to the page Portal:Main/Quotes.
  2. You will see the existing quotes. To create a new one, click on the first red link to a subpage template (it is very important that it is the template, not the page). For the 16th subpage, it looks like this: Template:Portal:Main/Quotes/16.
  3. Clicking on the red link will create the page for you. On this page, insert the following:
{{cquote|Text of the quote|||Who said it?|Where?}}
Example:
{{cquote|If language really is the conduit of our cooperation, the technology that our species derived to promote the free flow and exchange of ideas, in our modern world, we confront a question. And that question is whether in this modern, globalized world we can really afford to have all these different languages.|||Mark Pagel, TED Speaker|[http://www.ted.com/talks/mark_pagel_how_language_transformed_humanity.html How language transformed humanity]}}
Result:
If language really is the conduit of our cooperation, the technology that our species derived to promote the free flow and exchange of ideas, in our modern world, we confront a question. And that question is whether in this modern, globalized world we can really afford to have all these different languages.

—Mark Pagel, TED Speaker, How language transformed humanity


Ensuring that the random counter knows there is one extra page to choose from

  1. Now go to the page Template:Portal:Main/Quotes.
  2. The text on this page looks like this:
{{Random subpage|page=Portal:Main/Quotes|start=1|end=13|seed=2}}</wiki> ::Set the number after "end" to the number of the subpage you just created. This means the portal picks a random quote from among 13 possible subpages. ==How do I select an extra article for the "Selected articles" section of the portal?== ===Adding the extra article=== <nowiki> {{Selected article | image = | size = | side = | caption = | text = Type a short text that will be shown in the box and that is introducing the article | link = Title of the page, no brackets needed, no underscores for spaces, just plain text | archive = }}

Ensuring that the random counter knows there is one extra page to choose from