Template:Excerpt: Difference between revisions

From Pikipedia, the Pikmin wiki
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 number after <code>mod</code> found in this page's [[#Info|Info]] section in the same fashion.
# 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 image as before instead of jumping to another point because the <code>mod</code> value was changed.
# (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 images.
This process applies both to adding and removing excerpts.


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

Revision as of 08:47, October 3, 2022

Today we searched the caves located at the far end of the Valley of Repose. To ensure that we're thoroughly combing the region for treasure, we have to check every cave. Thanks to that diligence, we found this very item. To memorialize our exploration into the unknown, I named that cave Frontier Cavern.

Captain Olimar on the Danger Chime, entry in Olimar's journal

Excerpt list

To do: Improve the presentation of this section's list, if possible.
Care to do so?

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:

  1. Edit this template's list of excerpts in the #switch block, using the same format as the existing excerpts.
  2. 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.
  3. Edit the excerpt list.
  4. (Optional) Add an offset to the #switch block so the template shows the same excerpt as before instead of jumping to another point because the mod value was changed.

This process applies both to adding and removing excerpts.