Difference between revisions of "Talk: Feature quote"

From A Wiki of Ice and Fire
Jump to: navigation, search
m
m
Line 4: Line 4:
 
::: After finishing, click on the Newly showing red links and write down your qoutes, after you finish paste the line at the end<nowiki><noinclude>[[Category:Feature quotes]]</noinclude></nowiki>
 
::: After finishing, click on the Newly showing red links and write down your qoutes, after you finish paste the line at the end<nowiki><noinclude>[[Category:Feature quotes]]</noinclude></nowiki>
 
::: Done. [[User:Mordin999|Mor]] 06:20, 26 August 2011 (CDT)
 
::: Done. [[User:Mordin999|Mor]] 06:20, 26 August 2011 (CDT)
 +
::: Sorry I just noticed but there is already a section explaning how to [[Feature_quote#Adding_New_qoutes|Add new quotes]] which explains it better. [[User:Mordin999|Mor]]
  
 
===New qoutes Suggestions ===
 
===New qoutes Suggestions ===
Line 11: Line 12:
  
 
====Already Added====
 
====Already Added====
 
 
* "You've got the wrong man! I'm a different dwarf with a  hideous facial scar!" (Jaime tells Tyrion that it would be a good idea  to change his name, and Tyrion points out the pointlessness)
 
* "You've got the wrong man! I'm a different dwarf with a  hideous facial scar!" (Jaime tells Tyrion that it would be a good idea  to change his name, and Tyrion points out the pointlessness)
 
* "In the dark, I am the Knight of Flowers." (Tyrion to Sansa, on the night of their marriage)
 
* "In the dark, I am the Knight of Flowers." (Tyrion to Sansa, on the night of their marriage)

Revision as of 13:02, 26 August 2011

Okay, I didn't quite understand how to add quotes, so I need somebody else to add them for me. Here they are. (with their sources, in case the person adding wants to look them up for context)

To add new qoute edit the Featured qoute page and add the line [[Feature quote/72|Seventy-second quote]] {{:Feature quote/72}}
At the bottum after the last such line (Replacing the 72 with the next number inline).
After finishing, click on the Newly showing red links and write down your qoutes, after you finish paste the line at the end<noinclude>[[Category:Feature quotes]]</noinclude>
Done. Mor 06:20, 26 August 2011 (CDT)
Sorry I just noticed but there is already a section explaning how to Add new quotes which explains it better. Mor

New qoutes Suggestions

  • « the more you give a king, the more he wants. » jon snow, a dance with dragons
  • « a reader lives a thousand lives before he dies. the man who never reads lives only one. » jojen reed, a dance with dragons
  • « king jaehaerys once told me that madness and greatness are two sides of the same coin. every time a new targaryen is born, he said, the gods toss the coin in the air, and the world holds its breath to see how it will land. » ser barristan , a storm of swords.

Already Added

  • "You've got the wrong man! I'm a different dwarf with a hideous facial scar!" (Jaime tells Tyrion that it would be a good idea to change his name, and Tyrion points out the pointlessness)
  • "In the dark, I am the Knight of Flowers." (Tyrion to Sansa, on the night of their marriage)
  • "A girl should be bloody too. This is her work." -- Jaqen H'ghar to Arya (The battle inside Harrenhall)
  • "Careful with those, you don't want to get blood all over those pretty white cloaks." - Bronn to the Kingsguard (when Tyrion rescues Sansa from Joffrey)
  • "Men are such faithless creatures." -Varys
Tyrion sighed. "Who's the traitor today?"
The eunuch handed him a scroll. "So much villainy, it sings a sad song for our age. Did honor die with our fathers?"
"My father is not dead yet." --- Varys and Tyrion (when he firsts tells him about the Antler Men)


Hi I changed the template: added the new quotes and changed the code that determines which quote number is to be selected. Instead of using the day of the month to determine the quote no, the template uses a template that computes the day of the year. Because we don't have (yet) 365 quotes the template computes the mod of the current number of quotes (of 365 minus the day of the year). I hope it works now.
Regards, Scafloc 13:41, 8 January 2009 (CST)

Thanks for the work on this and many other templates, Scafloc! Unfortunately, the upgrade to 1.14 seems to have broken some templates -- at least, that one is currently not working from the looks of the front page. Something about 'expression' not being recognized. --Ran 15:20, 21 May 2009 (UTC)
The problem with the expression has to do with the Template:Day in year. For some reason using that template does not result in a number. Because the code in Feature quote expects a number this results in an error. As a temporary solution I include the complete code of Template:Day in year. Then the day of the year is computed and the feature quote works. Scafloc 11:08, 22 May 2009 (UTC)