Template:Excerpt: Difference between revisions

m
no edit summary
(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>