Template:Pg/doc: Difference between revisions
Created doc. |
m Fixed typo. |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
A template for inserting page numbers when remediating print sources. | A template for inserting page numbers when remediating print sources. It will also add anchor for links to specific pages. | ||
Use: | Use: | ||
| Line 5: | Line 5: | ||
<code><nowiki>{{pg|first page #|next page #}}</nowiki></code> | <code><nowiki>{{pg|first page #|next page #}}</nowiki></code> | ||
For example, | For example, indicating a page break after page 203 would look like: | ||
<code><nowiki>{{pg|203|204}}</nowiki></code> | <code><nowiki>{{pg|203|204}}</nowiki></code> | ||
| Line 15: | Line 15: | ||
Proin vestibulum porttitor sem, sit amet laoreet sapien sodales sed. Phasellus vestibulum consequat ultricies. Aliquam a sem placerat erat varius aliquet hendrerit et nulla. In hac habitasse platea dictumst. Aliquam posuere magna arcu, vel aliquet dui commodo in. Fusce ornare justo erat, ut porttitor sapien hendrerit vitae. | Proin vestibulum porttitor sem, sit amet laoreet sapien sodales sed. Phasellus vestibulum consequat ultricies. Aliquam a sem placerat erat varius aliquet hendrerit et nulla. In hac habitasse platea dictumst. Aliquam posuere magna arcu, vel aliquet dui commodo in. Fusce ornare justo erat, ut porttitor sapien hendrerit vitae. | ||
</blockquote> | </blockquote> | ||
This template will also insert a link anchor for the new page. In the above example, adding <code>#204</code> to the end of the URL will take a user directly to that page in the text. | |||