How To: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Add a new note ==
== Add a new note ==


{| style="width: 100%"
<div class="float-right">
|
{{Youtube|NtOl1gLz3Fo|[http://www.youtube.com/watch?v{{=}}NtOl1gLz3Fo Video Tutorial]|right|400}}
</div>
* Click on "Add New Note"
* Click on "Add New Note"
* Remove everything but the 1st and the last line
* Read the embedded guide: <syntaxhighlight lang="html">
* Type your note in between:
{{subst:Preload/Note|1=
::'''{{<nowiki/>subst:{{Template|Preload/Note}}|'''
<!--
::::...your note here...
* Write your comment here (remove both "arrows" top and bottom)
::'''<nowiki>}}</nowiki>'''
* Pipe signs "|" MUST be written {{!}}
* Check it with "Show preview"
* New lines can be forced with <br>
* Publish it with "Save changes"
* Please -PREVIEW YOUR ADDITION BEFORE SAVING-
| {{Youtube|NtOl1gLz3Fo|[http://www.youtube.com/watch?v{{=}}NtOl1gLz3Fo Video Tutorial]|right|400}}
 
|}
* Video Tutorial: https://www.youtube.com/watch?v=NtOl1gLz3Fo
-->
}}
</syntaxhighlight>
** Type your note in-between <syntaxhighlight lang="html" inline>{{subst:Preload/Note|1=</syntaxhighlight> and <syntaxhighlight lang="html" inline>}}</syntaxhighlight>
** Pipe signs "{{!}}" MUST be written {{hl|<nowiki>{{!}}</nowiki>}}
** New lines can be forced with {{hl|<nowiki><br></nowiki>}}
* Check your note using the "Show preview" button
* Publish it by clicking the "Save changes" button


{| class="wikitable" style="width: 100%"
{| class="wikitable valign-top" style="width: 100%"
|+ Examples
|+ Examples
! Code
! Code
! Result
! Result
|-
|-
| <syntaxhighlight lang="html">
| <syntaxhighlight lang="html+handlebars">
<dl class="command_description">
{{Note
 
|user= Username
<dt></dt>
|timestamp= 20010622120000
<dd class="notedate">Posted on Month DD, YYYY - HH:MM (UTC)</dd>
|text= note's content
<dt class="note">[[User:Username|Username]]</dt>
}}
<dd class="note">
note text
</dd>
</dl>
</syntaxhighlight>
</syntaxhighlight>
| style="vertical-align: top" |
|
<dl class="command_description">
{{Note
 
|user= Username
<dt></dt>
|timestamp= 20010622120000
<dd class="notedate">Posted on Month DD, YYYY - HH:MM (UTC)</dd>
|text= note's content
<dt class="note">[[User:Username|Username]]</dt>
}}
<dd class="note">
note text
</dd>
</dl>
|}
|}




[[Category:Community Wiki]]
[[Category:Community Wiki]]

Latest revision as of 16:29, 14 September 2023

Add a new note

  • Click on "Add New Note"
  • Read the embedded guide:
    {{subst:Preload/Note|1=
    <!--
    * Write your comment here (remove both "arrows" top and bottom)
    * Pipe signs "|" MUST be written {{!}}
    * New lines can be forced with <br>
    * Please -PREVIEW YOUR ADDITION BEFORE SAVING-
    
    * Video Tutorial: https://www.youtube.com/watch?v=NtOl1gLz3Fo
    -->
    }}
    
    • Type your note in-between {{subst:Preload/Note|1= and }}
    • Pipe signs "|" MUST be written {{!}}
    • New lines can be forced with <br>
  • Check your note using the "Show preview" button
  • Publish it by clicking the "Save changes" button
Examples
Code Result
{{Note
|user= Username
|timestamp= 20010622120000
|text= note's content
}}
Username - c
Posted on Jun 22, 2001 - 12:00 (UTC)
note's content