Difference between revisions of "Template:NavMM"

From United States Pirate Party
Jump to navigation Jump to search
(worked on it a bit)
(near final draft)
Line 1: Line 1:
 
<div style="border: 1px solid black;border-radius:2px"><div style="text-align: left; margin: 1; background-color:#572B85; color: white; font-size: 120%; font-weight: bold; border:1px solid #FFF; padding:0.2em 0.4em;">PNC Meeting Minutes</div><div style="padding: 10px;text-align:center">
 
<div style="border: 1px solid black;border-radius:2px"><div style="text-align: left; margin: 1; background-color:#572B85; color: white; font-size: 120%; font-weight: bold; border:1px solid #FFF; padding:0.2em 0.4em;">PNC Meeting Minutes</div><div style="padding: 10px;text-align:center">
[[PNC {{{1}}}]] — '''[[Meeting Minutes|Index]]''' — [[PNC {{{2}}}]]</div></div><noinclude>
+
Previous: {{{1|''meeting unavailable''}}} — '''[[Meeting Minutes|Index]]''' — Next: {{{2|''meeting unavailable, for now''}}}<br>{{{3|}}}<br>'''[[Pirate National Committee (PNC)|Pirate National Committee]] — [[Committees|All national committees]]'''</div></div><noinclude>
  
 
==Notes==
 
==Notes==
* styling can ride if there is no objection
+
*Invoke as <code><nowiki>{{NavMM|lastminutes|nextminutes}}</nowiki></code>
* need to make this more flexible, to have a proper empty preload while still making this easy to use
+
* You can skip last or next without error, especially if the next date is not set
* might change it so you put the entire link of the page into the template. A little less ideal but still not terrible?
+
* Insert the full link to the last/next minutes
----
+
* A case in point example you can check is done at (location tbd)
 +
* You can insert one more field for special cases, for example, if minutes were skipped or there was something different worth noting. If you do that, include the first and second areas even if there is nothing to put in them
 +
* You can preview to make sure it works, and reach out to a wiki volunteer if there is any confusion
  
Use as follows:
+
<!--[[Category:Minutes templates]]-->
 
 
<nowiki><code>{{NavMM|lastdate|nextdate}}</code></nowiki>
 
 
 
This can be used in two ways.
 
* Fill in the next date when posting current minutes if you know the date, then there does not need to be a visit to the last minutes. This has a caveat, see below.
 
* Only fill in the last date when posting the current minutes, so just <nowiki><code>{{NavMM|lastdate}}</code></nowiki>. Then when the next meeting happens, start at the earlier meeting, fill in the date, and follow the new link to create the next minutes.
 
 
 
Dead links do worse in online search results, this is the weakness of filling in the next date early. Either a skeleton page can be posted that basically says 'coming soon' to avoid this, but that's still not great, or the wiki can look into disabling red links for logged out visitors. This may help with search performance and keep this system easier, but it would require deeper IT action. We can 'not care' to keep it simple but this will have a known search performance hit.
 
 
 
If a red link is given (regardless if it is visible to logged out users), it might make it easier for an inexperienced editor to fill in new minutes?
 

Revision as of 05:08, 11 November 2025

PNC Meeting Minutes
Previous: meeting unavailableIndex — Next: meeting unavailable, for now

Pirate National CommitteeAll national committees

Notes

  • Invoke as {{NavMM|lastminutes|nextminutes}}
  • You can skip last or next without error, especially if the next date is not set
  • Insert the full link to the last/next minutes
  • A case in point example you can check is done at (location tbd)
  • You can insert one more field for special cases, for example, if minutes were skipped or there was something different worth noting. If you do that, include the first and second areas even if there is nothing to put in them
  • You can preview to make sure it works, and reach out to a wiki volunteer if there is any confusion