0 Votes

Wiki source code of Start here if you're new

Version 7.1 by Ryan C on 2025/03/16 01:16

Show last authors
1 = =
2
3 ----
4
5 == Getting Started with XWiki ==
6
7 This page covers all the essential steps and tips you need to create great content in XWiki without any confusion.
8
9 == 📖 Table of Contents: ==
10
11 * [[Editing with the WYSIWYG Editor>>https://chatgpt.com/c/67d66d62-3244-800a-8974-570f38118948#editing-pages]]
12 * [[Inserting Attachments and Images>>https://chatgpt.com/c/67d66d62-3244-800a-8974-570f38118948#attachments]]
13 * [[Using the / Macro Shortcut>>https://chatgpt.com/c/67d66d62-3244-800a-8974-570f38118948#macros]]
14 * [[Basic Formatting and Links>>https://chatgpt.com/c/67d66d62-3244-800a-8974-570f38118948#formatting]]
15 * [[Useful Tips>>https://chatgpt.com/c/67d66d62-3244-800a-8974-570f38118948#tips]]
16
17 ----
18
19 == 📎 **Attachments and Images** ==
20
21 You can easily upload files and images directly from the WYSIWYG editor:
22
23 **Uploading Attachments:**
24
25 * Click **Edit** to enter the WYSIWYG editor.
26 * Click on the **Attachment** icon (📎 paperclip icon).
27 * Drag-and-drop or select your file to upload it instantly.
28 * Uploaded files will automatically be listed as attachments at the bottom of your page.
29
30 === **Inserting Images with Enlargable Thumbnails** ===
31
32 1. In the editor, click the **"Insert Image"** icon from the toolbar.
33 1. Upload or select the image.
34 1. Choose the **Thumbnail option** to create a clickable enlargable preview automatically.
35
36 ----
37
38 == ⚡ **Using the / Macro Shortcut** ==
39
40 The / macro shortcut is a powerful and quick way to insert macros while editing pages in XWiki's WYSIWYG editor:
41
42 * Simply type / and start typing the macro name or feature you want to add.
43 * You'll see suggestions appear as you type. Select the macro to insert it directly without manual syntax.
44 * Example macros include:
45 ** /toc – Table of Contents
46 ** /box – Insert Box Macro
47 ** /gallery – Image Gallery
48 ** /footnote – Add footnotes to your text
49 ** /code – Code blocks for programming snippets
50
51 This shortcut dramatically speeds up editing, no need to memorize complicated wiki syntax.
52
53 ----
54
55 == ✏️** Basic Formatting and Links (Quick Guide)** ==
56
57 * **Bold text**: Select text, click the **Bold** button or press Ctrl + B.
58 * **Italic text**: Select text, click "Italic" in the toolbar or use Ctrl+I.
59 * **Creating Links**:
60 ** Highlight text and click **"Link"** or use shortcut Ctrl+K.
61 ** Paste or select the page URL to link internally.
62
63 ----
64
65 == 🔍 **Useful Tips & Best Practices** ==
66
67 * **Save drafts frequently:** Press Ctrl+S regularly.
68 * **Macros** greatly simplify content formatting—use / often.
69 * **Edit attachments:** Hover attachments directly below your page in view mode to manage or delete them.
70 * **Use minimal formatting** to ensure readability.
71
72 ----
73
74 = ⚡**Guests can contribute** =
75
76 1. Guests can edit pages in the main content area without signing up. If this becomes problematic I'll change it but for now I'd like everyone to have access with as little trouble as possible.
77 1. Use Your Sandbox on the left, mess around with macros and other editing options. There's a lot of options to customize content.
78 1. Leave comments, give suggestions, request features.
79
80 == **Content Guidelines** ==
81
82 * Ensure your content is well-researched, you don't need to include references in the format of footnotes for your material, but you should try to include studies or links to give credibility to your claims. For instance, just claiming that [[IQ is genetic>>doc:Main Categories.Science & Research.Race & IQ.WebHome]] is genetic wouldn't be valid unless you provide a study backing up that assertion, or more likely link to a page within this site that explains why IQ is not something that is purely determined by environmental factors. If such a page doesn't exist, create it, and start providing studies that show this.
83 * Use clear, concise language and avoid using slurs, slang, or troll like language. This isn't supposed to be encyclopedia dramatica, I'd like things to remain relatively mature and well thought out.
84
85 == **Directories and Page URLs** ==
86
87 * The categories I have made up should cover most content, but if you feel your content doesn't fit under them, feel free to make a new category. Moving pages and reorganizing content in this wiki is very easy.
88
89
90
91 == **XWiki Editing Modes** ==
92
93 XWiki offers multiple editing modes to accommodate various user preferences and technical requirements:
94
95 * **WYSIWYG (What You See Is What You Get) Editor**: Ideal for users unfamiliar with wiki syntax, this editor provides a user-friendly interface resembling traditional word processors. It allows for straightforward text formatting, image insertion, and link creation without delving into markup language. citeturn0search0
96 * **Wiki Editor**: This mode enables direct editing using XWiki’s markup syntax. It’s suitable for users comfortable with wiki syntax and those requiring precise control over the content structure.
97 * **Inline Form Editing**: Used primarily for pages containing structured data or custom applications, this mode presents editable fields directly within the page view, streamlining data entry and updates.
98
99 === **Switching Between Syntaxes** ===
100
101 XWiki supports multiple syntaxes, including XWiki 2.1, MediaWiki, and others. While it’s possible to switch a page’s syntax, exercise caution, as certain syntaxes may not fully support WYSIWYG editing. For instance, changing a page to MediaWiki syntax might limit the availability of the WYSIWYG editor. citeturn0search6
102
103 == **Essential Formatting Options** ==
104
105 To ensure content is both engaging and accessible, utilize the following formatting techniques:
106
107 * **Headings**: Organize content hierarchically using headings. In XWiki syntax, headings are defined by one to six plus signs (+), corresponding to heading levels 1 to 6.
108
109 {{code}}
110 + Heading Level 1
111 ++ Heading Level 2
112 +++ Heading Level 3
113 {{/code}}
114
115
116 === **Text Formatting** ===
117
118
119 *
120 ** (((
121 === **Bold**: Surround text with double asterisks. ===
122 )))
123
124 {{code}}
125 **bold text**
126 {{/code}}
127
128 *
129 ** (((
130 === **Italics**: Use double underscores. ===
131 )))
132
133 {{code}}
134 __italic text__
135 {{/code}}
136
137 *
138 ** (((
139 === **Underline**: Enclose text with double tildes. ===
140 )))
141
142 {{code}}
143 ~~underlined text~~
144 {{/code}}
145
146 *
147 *
148
149 *
150 ** (((
151 === **Unordered List**: Begin lines with asterisk (*) or hyphen (-). ===
152 )))
153
154 {{code}}
155 * Item 1
156 * Item 2
157 {{/code}}
158
159 *
160 ** (((
161 === **Ordered List**: Start lines with a number followed by a period. ===
162 )))
163
164 {{code}}
165 1. First item
166 2. Second item
167 {{/code}}
168
169 * (((
170 === ===
171 )))
172 * (((
173 === **Links** ===
174 )))
175
176
177
178 ==== **Internal Link**: Use square brackets with the page name. ====
179
180 {{code}}
181 [[PageName]]
182 {{/code}}
183
184 *
185 ** (((
186 ==== **External Link**: Provide the URL directly. ====
187 )))
188
189 {{code}}
190 [https://www.example.com]
191 {{/code}}
192
193 * (((
194 === **Images** ===
195 )))
196
197 {{code}}
198 [[image:example.jpg]]
199 {{/code}}
200
201
202 == **Utilizing XWiki Macros** ==
203
204 Macros are powerful tools in XWiki that allow for dynamic content inclusion and advanced formatting. Here are ten notable macros to consider:
205
206 1. **Box Macro**: Encapsulates content within a styled box, useful for highlighting information.
207
208 {{code}}
209 {{box}}
210 Your content here.
211 {{/box}}
212 {{/code}}
213
214
215 === **Info Macro**: Displays an informational message, often used for tips or notes. ===
216
217 {{code}}
218 {{info}}
219 This is an informational note.
220 {{/info}}
221 {{/code}}
222
223
224 === **Warning Macro**: Highlights warnings or important notices. ===
225
226 {{code}}
227 {{warning}}
228 Caution: Proceed with care.
229 {{/warning}}
230 {{/code}}
231
232
233 === **Code Macro**: Renders code snippets with syntax highlighting. ===
234
235 {{code}}
236 {{code language="python"}}
237 def hello_world():
238 print("Hello, world!")
239 {{/code}}
240 {{/code}}
241
242
243 === **Gallery Macro**: Creates an image gallery from attached images. ===
244
245 {{code}}
246 {{gallery}}
247 [[image1.jpg]]
248 [[image2.jpg]]
249 {{/gallery}}
250 {{/code}}
251
252
253 === **TOC (Table of Contents) Macro**: Generates a table of contents based on page headings. ===
254
255 {{code}}
256 {{toc/}}
257 {{/code}}
258
259
260 === **Include Macro**: Embeds content from another page. ===
261
262 {{code}}
263 {{include reference="PageName"/}}
264 {{/code}}
265
266
267 === **Display Macro**: Displays the content of another document or an object property. ===
268
269 {{code}}
270 {{display reference="PageName"/}}
271 {{/code}}
272
273
274 === **Velocity Macro**: Executes Velocity scripts for dynamic content generation. ===
275
276 {{code}}
277 {{velocity}}
278 #set($greeting = "Hello, $user.name!")
279 $greeting
280 {{/velocity}}
281 {{/code}}
282
283

XWiki AI Chat