Guidelines for Writing this Manual: Difference between revisions
DrMartinus (talk | contribs) →examples: Added a row with the Tip template |
DrMartinus (talk | contribs) →Tips and Notes Templates: Added the "Important" example |
||
Line 35: | Line 35: | ||
=== Tips and Notes Templates === | === Tips and Notes Templates === | ||
Bluefish Wiki Manual | Bluefish Wiki Manual uses templates for: | ||
{| | {| | ||
|align="center"|'''note''': | |align="center"|'''note''': | ||
Line 58: | Line 58: | ||
|<nowiki>{{Tip|</nowiki>text=mytext here, use <nowiki><br /></nowiki> to break lines.<nowiki>}}</nowiki> | |<nowiki>{{Tip|</nowiki>text=mytext here, use <nowiki><br /></nowiki> to break lines.<nowiki>}}</nowiki> | ||
|{{Tip|text=mytext here, use <nowiki><br /></nowiki><br />to break lines.}} | |{{Tip|text=mytext here, use <nowiki><br /></nowiki><br />to break lines.}} | ||
|- | |||
|<nowiki>{{Important|</nowiki>text=mytext here, use <nowiki><br /></nowiki> to break lines.<nowiki>}}</nowiki> | |||
|{{Important|text=mytext here, use <nowiki><br /></nowiki><br />to break lines.}} | |||
|} | |} | ||
{{Tip|text=use [[Bluefish mediawiki snippets]] to edit this manual...<br />the task will be easier!}} | {{Tip|text=use [[Bluefish mediawiki snippets]] to edit this manual...<br />the task will be easier!}} | ||
Latest revision as of 11:51, 22 December 2022
create an account
|
Using Bluefish 2 to edit Bluefish 2 Manual
See: Bluefish mediawiki editor. Mediawiki snippets have snippets for Bluefish Manual: note, tip, important, warning, clear, framed image.
Templates
Bluefish Wiki Manual use 2 templates for navigation: Man2top and Man2bottom.
They do not usually need to be edited. However, since their output was scrambled up, they are, for now, disabled.
Man2top and Man2bottom templates do not usually need to be edited. Exceptions:
|
|
Tips and Notes Templates
Bluefish Wiki Manual uses templates for:
note: | tip: | important: | warning: | ||||||||||||
|
|
|
|
examples
|
Clear Template
You can write {{clear}} as a shortcut of <br style="clear:both" />
The next element will be moved below all floating boxes of earlier elements.
Top Template
You can write {{top}} to create a link to the top of the page:
Toc Template
You can write {{toc}} to create a floating right ToC
Images
see mediawiki manual: Images Syntax
note: to add in snippets and bflang2
In the manual images are framed with a title:
One image
For one large image, with text on top and/or bottom:
[[File:Man2_snippet_insert_dialog.png|none|frame|snippet insert dialog]]
For a small image floating left with text on the right:
[[File:Man2 create snippet4.png|left|frame|lorem ipsum]] lorem ipsum {{clear}}
More images
In this case we use a table:
{| |valign="bottom" align="center"|[[File:Man2 create snippet.png|none|frame|lorem ipsum]] |valign="bottom" align="center"|[[File:Man2 create snippet2.png|none|frame|lorem ipsum]] |valign="bottom" align="center"|[[File:Man2 create snippet3.png|none|frame|lorem ipsum]] |}