Template:Excerpt: Difference between revisions
(Fixed! Feel free to add more entries.) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{#expr:{{#time:U}} mod | {{#switch:{{#expr:floor({{#time:U}}/86400) mod 46}} | ||
|0={{quote|Bulborb|olimar}} | |||
|0={{quote| | |||
|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 | |4={{quote|Dwarf Bulborb|olimar}} | ||
|5={{quote|Beady Long Legs|olimar}} | |5={{quote|Beady Long Legs|olimar}} | ||
|6={{quote|Armored Cannon | |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 | |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}} | ||
|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| | |36={{quote|Glowstem|olimargc}} | ||
|37={{quote|Margaret|olimar}} | |37={{quote|Margaret|olimar}} | ||
|38={{quote|Fiddlehead|olimar}} | |38={{quote|Fiddlehead|olimar}} | ||
|39={{quote|Joy Receptacle|journal}} | |39={{quote|Joy Receptacle|journal}} | ||
|40={{quote|Fleeting Art Form| | |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> | ||
== | == Excerpt list == | ||
{{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 [[#Excerpt list|excerpt list]]. | |||
# (Optional) Add an offset to the <code>#switch</code> block so the template shows the same excerpt as before instead of jumping to another point because the <code>mod</code> value was changed. | |||
This process applies both to adding and removing excerpts. | |||
[[Category:Unused main page templates]]</noinclude> | [[Category:Unused main page templates]]</noinclude> |
Latest revision as of 09:47, October 3, 2022
“ | This plant's delicate yellow flowers often inspire waves of nostalgia, giving a bittersweet feeling to any who gaze upon them. | ” |
—Captain Olimar on the Margaret, entry from Olimar's Notes |
Excerpt list
To do: Improve the presentation of this section's list, if possible. |
Each entry uses {{quote}}, which pulls from {{notes}}.
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
#switch
block, using the same format as the existing excerpts. - Edit the number after
mod
at the top of the#switch
block so that it equals one more than the ID of the last excerpts. - Edit the excerpt list.
- (Optional) Add an offset to the
#switch
block so the template shows the same excerpt as before instead of jumping to another point because themod
value was changed.
This process applies both to adding and removing excerpts.