Calhavintas Posted August 10, 2017 Share Posted August 10, 2017 Hi there, the issue #23 on github mentions the use of the styled notes (note, warning, info, success, important), but doesn't explain under which circumstances they should by applied. Warning may be the easiest: if some error or crash appears in-game. The meaning of the others are a little bit blurry to me Link to comment
lynx Posted August 10, 2017 Share Posted August 10, 2017 It's completely debatable where and when they should be used. I think so far only note and warning are used. Link to comment
Calhavintas Posted August 10, 2017 Author Share Posted August 10, 2017 Then i would stick with these two for the moment, unless it's clear from the description, that they don't match well. Regarding this code snippet (found in op001.html) {{site.game}} should this be included in the note or removed or placed elsewhere? UPDATE: is this the correct notation for multiple notes: {% capture note %} First Note {% endcapture %} {% include note.html %} {% capture note %} First warning {% endcapture %} {% include warning.html %} {% capture note %} Second Note {% endcapture %} {% include note.html %} ? Link to comment
lynx Posted August 10, 2017 Share Posted August 10, 2017 That particular one looks extraneus and is evaluated to an empty string anyway. Notes: yes. Even if two notes of the same type follow each other (and it makes sense not to merge them), you need two includes. Link to comment
Calhavintas Posted August 10, 2017 Author Share Posted August 10, 2017 Ok, thanks for the answers Link to comment
Calhavintas Posted August 10, 2017 Author Share Posted August 10, 2017 All opcodes should have styled notes Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.