imagej / imagej.github.io

The ImageJ wiki
https://imagej.net
Other
25 stars 116 forks source link

Consolidate Similar Templates #35

Closed hinerm closed 3 years ago

smgriffin2 commented 4 years ago

Citation includes:

Cite Citation Publication

ctrueden commented 4 years ago

Citation and Publication operated on two different levels, no?

I do not expect that combining them would be a good idea, since it would result in a ton of copy-paste, and later inconvenience should we want to reformat things, and also potential formatting errors across the various publication citations.

All of that said: I am of course in favor of combining redundant templates where feasible. :smile:

smgriffin2 commented 4 years ago

Ahh that makes sense. Was wondering why so many arguments in the citation include weren't utilized. Right now, both cite and citation have been rewritten for the new site, and I'll rewrite publication "as is" soon.

It sounds like it may be wise to direct users to use the citation include in order to future-proof the site? I'll add this to my notes to go over once you get back.

ctrueden commented 4 years ago

It sounds like it may be wise to direct users to use the citation include in order to future-proof the site?

Definitely! Documenting the templates front and center, and encouraging people to use them, is a really important cat-herding task. It will reduce the amount of editing-other-people's-stuff-to-use-templates-when-they-didn't we end up doing.

smgriffin2 commented 3 years ago
ambox
biginfo-box
info-box
tech-box
warning-box
tip

possibly (these are also infoboxes, but have additional static variable such as image or set text blurb):

imagej1
plugin-removed
figure-center
figure-left
figure-right
ctrueden commented 3 years ago

Progress continues. With f43d95ba3ed39382c37f0bcbc43601daf9d59253, TODO notes about what's left to clean up and consolidate are now in place for all includes in the base _includes folder.

ctrueden commented 3 years ago

This work was mostly completed. What remains is tracked in #59, #97, #114, and #154.