Op 9-2-2026 om 21:53 schreef Keith N. McKenna via doc:
[snip]
Digro;
I am trying to follow your document on how to create the mwiki
versions of the Calc Guide, and I have some questions on the following
section.
First we have to insert the needed content for referrers. It's best
and fastest to copy that to a text file and use copy and paste to
insert it, since the format is nearly the same for all following
pages. Only names to pages and Displaytitle mostly change
That content is:
{{DISPLAYTITLE:<enter the displaytitle for the page>}}
{{Documentation/CG4IntrCalcTOC
|ShowPrevNext=block
|PrevPage=Documentation/OOo4_User_Guides/Calc Guide/<enter the title
of previous page>
|NextPage=Documentation/OOo4_User_Guides/Calc Guide/<enter the title
of next page>
}}__notoc__
Use a text file (no formatting) to copy / paste into the wiki page.
You can make items for starting text, inserting pictures, new starts
for lists etc.
If the text of your template is in a text file you can also copy from
there if needed
(useful for the links to files)
When you say "You can make items for starting text,inserting pictures,
new starts for lists. What are you trying to communicate?
Thanks for all your help
Keith
Keith,
what I tried to say is that you can make preformatted parts to
copy/paste into the wiki page.
For instance the part for the DISPLAYTITLE you embedded in your mail.
You can type that on every single new wiki page that you make, if you
want to.
If you use the preformatted text (and copy/paste that), you only have to
change the name of the files in that text.
That will save time.
Last time I forgot to attach the file with my preformatted texts and
sent it separately, maybe it's gone AWOL, but I'll attach it to this
message.
In the attachment are texts for inserting pictures (with and without
caption), as well as a way to continue an earlier started numbered list,
after a picture is inserted on the wiki page at the previous numbering.
Default behavior is namely that you start with a new numbering then
Here is an example of that:
https://wiki.openoffice.org/wiki/Documentation/AOO4_User_Guides/Writer_Guide/Formatting_Pages/Setting_up_Basic_Page_Layout_Using_Styles/Changing_Page_Orientation_within_a_Document/Setting_Up_a_Landscape_Page_Style
Also there are templates for Warn, Tip and Note, such as we use in the
User Guides.
They are named {{Warn|}} , {{Tip|}} and {{Note|}}
If I use {{Note|}} as an example I could copy it onto my new wiki page
and add the warning itself.
Like this: {{Note| This is a note}} which then will render on the wiki
page as a box with a light bulb in it, as well als the note.
---------------------
An example is here:
https://wiki.openoffice.org/wiki/Documentation/AOO4_User_Guides/Writer_Guide/Formatting_Pages/Using_Sections_for_Page_Layout/Creating_Sections/Linking_Sections
This last example has several preformatted texts I used in it.
Log in to the wiki and click Edit on the top of that page. Then you will
see that it starts with the DISPLAYTITLE part.
Going down, you will see an inserted picture (preformatted text. You
there only have to change name of the image and the caption.)
Direct below that is a new start of the numbered list that starts BEFORE
the inserted picture
Below that is the {{Note| }} template
My point is:
If you notice that you use a certain text(part) over and over again, put
it in the text file with the other much used texts(parts).
That way you can use copy/paste and don't have to type everything again.
I hope I made myself clear(er) now. Good luck and let me know if I can
assist with anything else.
--
DiGro
___________________________
Apache OpenOffice 4.1.16 (Dutch) and scanned with Ziggo Safe Online (F-Secure)
Head
{{DISPLAYTITLE:}}
{{Documentation/CG4IntrCalcTOC
|ShowPrevNext=block
|PrevPage=Documentation/AOO4_User_Guides/Calc Guide/Introducing_Calc
|NextPage=Documentation/AOO4_User_Guides/Calc
Guide/Introducing_Calc/Spreadsheets_Sheets_and_Cells
}}
__NOTOC__
== ==
Pictures
[[Image:AOO41WG16_001a_iconDesignModeOnOff.png]] = just a logo
[[Image:AOO41WG16_001.png|400px|center]]
<center>''Figure 1: ''</center>
Color text:
<span style="color:red">Do not click OK!</span> of hex #ff0000 instead of 'red'
Color Hexadecimal Color Hexadecimal
black #000000 silver #c0c0c0
gray #808080 white #ffffff
maroon #800000 red #ff0000
purple #800080 fuchsia #ff00ff
green #008000 lime #00ff00
olive #808000 yellow #ffff00
navy #000080 blue #0000ff
teal #008080 aqua #00ffff
left: 3x ../../../ from /Writer_Guide
Follow through with numbered list
<ol start="4">, or any number you want to go forward with
<li></li>
</ol>
Colors of text
<span style="color:#ff0000"> </span> = red
#0000FF = blue
#6495ED = cornflower blue
#CDC143 = Crimson (dark red)
Table format
Table with picture
{|
| style padding="10px"|
|
|}
Table formatting example
{|class="wikitable" style="margin:auto"
! Function
! Clipboard
! Selection clipboard
|-
| Copy content
| Edit > Copy Control+C
| Select text, table, or object.
|-
| Paste content
| Edit > Paste Control+V pastes at the cursor position.
| Clicking the middle mouse button pastes at the mouse pointer position.
|-
| Pasting into another document
| No effect on the clipboard contents.
| The last marked selection is the content of the selection clipboard.
|}
another example:
{|class="wikitable" style="margin-left: 20px; margin-right: auto;"
! style="width: 15%; text-align:left" | Style fields
! style="width: 65%; padding: 10px; text-align:left" | Description
|-
| style="width: 15%" | Name
| style="padding: 10px" | This is the name of the style itself, like ''Heading
1'' or ''Text body''.<br>Set (type in the text box) the name to ''Poem''.
|-
| style="width: 15%" | Next Style
| style="padding: 10px" | This is the default style for the paragraph that
follows the ''Poem'' style. When you press ''Enter'' while typing text in the
''Poem'' style, this style is used.<br>Set this value to ''Poem''. When you
press ''Enter'', the text will remain in the ''Poem'' style.
|-
| style="width: 15%" | Linked with
| style="padding: 10px" | If the ''Poem'' style is linked with another, say
''Default'', then any change in ''Default'' will affect ''Poem'', just as you
saw with ''Heading'' in the previous section.<br>For our example, this is not
the behavior we want. Set this entry to '''– None –'''. This means that
''Poem'' is not linked with any other style.
|}
style="padding: 10px"
Formatted Warning/Note/Tip
{{Warn| }}
{{Note| }}
{{Tip| }}
Menus / Buttons / Keys
{{menu|}}
{{key|}}
{{button|}}
{{button|Edit}}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]