Template:Excerpt: Difference between revisions
Jump to navigation
Jump to search
(Fixed broken links and made consistent with Template:Featured image.) |
mNo edit summary |
||
Line 59: | Line 59: | ||
# Edit this template's list of excerpts in the <code>#switch</code> block, using the same format as the existing excerpts. | # 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> 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]]. | # Edit the [[#Excerpt list|excerpt list]]. | ||
# (Optional) Add an offset to the <code>#switch</code> block so the template shows the same | # (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 | This process applies both to adding and removing excerpts. | ||
[[Category:Unused main page templates]]</noinclude> | [[Category:Unused main page templates]]</noinclude> |
Revision as of 09:47, October 3, 2022
“ | Notes:Wogpole/olimar | ” |
—Captain Olimar on the Wogpole, 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.