Template:Excerpt: Difference between revisions

Fixed broken links and made consistent with Template:Featured image.
(Fixed! Feel free to add more entries.)
(Fixed broken links and made consistent with Template:Featured image.)
Line 1: Line 1:
{{#switch:{{#expr:{{#time:U}} mod 45}}
{{#switch:{{#expr:floor({{#time:U}}/86400) mod 46}}
<!-- Enemies -->
|0={{quote|Bulborb|olimar}}
|0={{quote|Red Bulborb|olimar}}
|1={{quote|Bulbmin|olimar}}
|1={{quote|Bulbmin|olimar}}
|2={{quote|Hairy Bulborb|olimar}}
|2={{quote|Hairy Bulborb|olimar}}
|3={{quote|Giant Breadbug|olimar}}
|3={{quote|Giant Breadbug|olimar}}
|4={{quote|Dwarf Red Bulborb|olimar}}
|4={{quote|Dwarf Bulborb|olimar}}
|5={{quote|Beady Long Legs|olimar}}
|5={{quote|Beady Long Legs|olimar}}
|6={{quote|Armored Cannon Beetle Larva|olimar}}
|6={{quote|Armored Cannon Larva|olimar}}
|7={{quote|Watery Blowhog|olimar}}
|7={{quote|Watery Blowhog|olimar}}
|8={{quote|Male Sheargrub|olimar}}
|8={{quote|Male Sheargrub|olimar}}
Line 18: Line 17:
|15={{quote|Wogpole|olimar}}
|15={{quote|Wogpole|olimar}}
|16={{quote|Creeping Chrysanthemum|olimar}}
|16={{quote|Creeping Chrysanthemum|olimar}}
|17={{quote|Unmarked Spectralid|olimar}}
|17={{quote|Unmarked Spectralids|olimar}}
|18={{quote|Mitite|olimar}}
|18={{quote|Mitite|olimar}}
|19={{quote|Gatling Groink|olimar}}
|19={{quote|Gatling Groink|olimar}}
|20={{quote|Mamuta|olimar}}
|20={{quote|Mamuta|olimar}}
|21={{quote|Waterwraith|olimar}}
|21={{quote|Waterwraith|olimar}}
<!-- Plants -->
|22={{quote|Foxtail|olimar}}
|22={{quote|Foxtail|olimar}}
|23={{quote|Seeding Dandelion|olimar}}
|23={{quote|Seeding Dandelion|olimar}}
Line 38: Line 36:
|34={{quote|Shoot|olimar}}
|34={{quote|Shoot|olimar}}
|35={{quote|Common Glowcap|olimar}}
|35={{quote|Common Glowcap|olimar}}
|36={{quote|Glowstem|olimar}}
|36={{quote|Glowstem|olimargc}}
|37={{quote|Margaret|olimar}}
|37={{quote|Margaret|olimar}}
|38={{quote|Fiddlehead|olimar}}
|38={{quote|Fiddlehead|olimar}}
<!-- Frigid Series -->
|39={{quote|Joy Receptacle|journal}}
|39={{quote|Joy Receptacle|journal}}
|40={{quote|Fleeting Art Form|journal}}
|40={{quote|Fleeting Art Form|journalgcus}}
|41={{quote|Danger Chime|journal}}
|41={{quote|Danger Chime|journal}}
|42={{quote|Spouse Alert|journal}}
|42={{quote|Spouse Alert|journal}}
Line 51: Line 48:
}}<noinclude>
}}<noinclude>


==Info==
== Excerpt list ==
This template was formerly used on the [[Main Page]]. When adding more entries to the list, please ensure the "mod" value at the top matches the value of the bottommost entry.
{{todo|Improve the presentation of this section's list, if possible.|nocat=y}}
Each entry uses {{tem|quote}}, which pulls from {{tem|notes}}.
{{columns|3|
*[[Notes:Bulborb/olimar]]
}}
 
== List changing process ==
Only staff members can change this template, and as such, change the list of excerpts. That person should follow these steps:
# Edit this template's list of excerpts in the <code>#switch</code> block, using the same format as the existing excerpts.
# Edit the number after <code>mod</code> at the top of the <code>#switch</code> block so that it equals one more than the ID of the last excerpts.
# Edit the number after <code>mod</code> found in this page's [[#Info|Info]] section in the same fashion.
# Edit the [[#Excerpt list|excerpt list]].
# (Optional) Add an offset to the <code>#switch</code> block so the template shows the same image as before instead of jumping to another point because the <code>mod</code> value was changed.
This process applies both to adding and removing images.


[[Category:Unused main page templates]]</noinclude>
[[Category:Unused main page templates]]</noinclude>
628

edits