Template:Pg/doc

From Project Mailer
< Template:Pg
Revision as of 15:03, 13 July 2021 by Grlucas (talk | contribs) (Additional functionality.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template for inserting page numbers when remediating print sources. It will also add anchor for links to specific pages.

Use:

{{pg|first page #|next page #}}

For example, diving the text after page 203 would look like:

{{pg|203|204}}

And render:

Proin a ultricies purus. In blandit erat ex, vitae feugiat ex mattis non. Sed fermentum accumsan tincidunt. Duis justo neque, feugiat sed nibh quis, posuere laoreet ligula. Ut at urna tellus. Sed eget ante nunc. In nec risus semper, maximus orci et, consectetur sapien. Ut accumsan faucibus ipsum. Quisque feugiat, sapien pharetra tincidunt facilisis, nisl tellus efficitur elit, non hendrerit velit lorem ut risus. In eget nisi malesuada, mattis metus in, iaculis diam.


page 203


page 204

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.

This template will also insert a link anchor for the new page. In the above example, adding #204 to the end of the URL will take a user directly to that page in the text.