Template talk:Paragraph number
Add topicAppearance
Latest comment: 2 months ago by Arcorann in topic Adding a prefix parameter
Adding a prefix parameter
[edit]The initial idea of this template was to easily link numbered paragraphs or sections, when the work continuously numbers them. I've found some cases where the numbering restarts in different chapters, and since the idea was to be as simple as possible (for more complex cases there's {{anchor+}}) my idea is to add a prefix as a second unnumbered parameter i.e.:
- {{pn|num|prefix}}, which emits one of:
- {{anchor+|prefix-paranum|num}}
- {{anchor+|prefixparanum|num}}
- {{anchor+|prefixnum|num}}
But I can't decide on which one to use. Anyone have comments? Arcorann (talk) 23:24, 7 October 2024 (UTC)
- I'd go with
prefix-paranum
, just to make it a little more legible. —CalendulaAsteraceae (talk • contribs) 05:13, 9 October 2024 (UTC)- Done. I also removed the ID parameter (AFAICT it hasn't been used yet). Arcorann (talk) 04:53, 15 October 2024 (UTC)