Difference between revisions of "Sample page"

From Beds24 Wiki
Jump to navigation Jump to search
(21 intermediate revisions by 2 users not shown)
Line 28: Line 28:
  
 
<u>Underline (not used)</u>  
 
<u>Underline (not used)</u>  
 +
 +
<div class="bluebox">
 +
Before you connect and other highlighted text
 +
</div>
 +
 +
 +
 +
<div class="summarybox">
 +
This is the summary
 +
</div>
 +
 +
  
  
Line 109: Line 121:
  
 
<div class="warning">{{#fas:exclamation-triangle}} Format of an important warning</div>   
 
<div class="warning">{{#fas:exclamation-triangle}} Format of an important warning</div>   
 +
  
 
<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span>  Tip used  for additional functions, references etc.  
 
<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span>  Tip used  for additional functions, references etc.  
Line 114: Line 127:
 
<span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span>  '''Required Skills''':
 
<span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span>  '''Required Skills''':
  
Use the context help <span style="color:#007bff;“ >{{#far:question-circle}}  </span> for information on each setting.  used for reference to the context help
+
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}}  </span>  Info
 +
 
 +
Use the context help<span style="color:#019cde;“ >{{#far:question-circle}}  </span> for information on each setting.  used for reference to the context help
  
 
{{#fas:cog}} used for reference to the settings menu left
 
{{#fas:cog}} used for reference to the settings menu left
Line 161: Line 176:
 
<div class="mw-collapsible mw-collapsed">
 
<div class="mw-collapsible mw-collapsed">
 
<div  class="headline-collapse" >  
 
<div  class="headline-collapse" >  
Headline for collapsible text
+
Example: Headline for collapsible text  
 
</div>
 
</div>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Line 190: Line 205:
  
 
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}}  </span>  You might need to do a couple of hard refreshes to see the uploaded image. Or try a different browser.
 
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}}  </span>  You might need to do a couple of hard refreshes to see the uploaded image. Or try a different browser.
 +
 +
=pdf=
 +
[[Media:Custom_Invoice.pdf|Download the tutorial]]
  
 
=Videos =
 
=Videos =
Line 261: Line 279:
  
 
==Step by  step instructions==
 
==Step by  step instructions==
'''Step 1: '''  
+
'''Step 1: Summary of what do do'''  
 +
 
 +
You need to.....
 +
*Do this
 +
*Do that
  
  
'''Step 2: '''  
+
'''Step 2: : Summary of what do do (optional)'''  
  
 +
add optional if the step is not required
  
 
'''Step 3: '''  
 
'''Step 3: '''  
Line 273: Line 296:
  
  
'''Step 5: '''  
+
'''Step 5: '''
  
 +
<div class="mw-collapsible mw-collapsed">
 +
<div  class="headline-collapse" >
 +
Step 1: Collapible
 +
</div>
 +
<div class="mw-collapsible-content">
 +
#do this
 +
#Press SAVE
 +
</div></div>
  
 
=How to=
 
=How to=

Revision as of 10:32, 8 May 2024

Page Title
This page is about the menu  (SETTINGS) PAGENAME > PAGENAME XXX followed by explanation on what to find on this page. 
Diese Seite ist über das Menue  (KONFIGURATION) PAGENAME

The two elements above are at the top of each page directly after the categories. Next element is the the contents (below).

1 General formatting

https://www.mediawiki.org/wiki/Help:Formatting

2 Headline 1

2.1 Headline 2

2.1.1 Headline 3

2.1.1.1 Headline 4

italic


bold


bold & italic


Underline (not used)

Before you connect and other highlighted text


This is the summary



Code:

Source code -> used for code examples, on many pages pre (blue box) is used for code which should be replaced


<script> var addUrlParamsToIframeSrcs = function () { const validParameters = ["checkin","checkout","numnight","numadult","numchild","ownerid","propid","roomid","referer","redirect","lang","group","nogroup","category1","category2","category3","category4", "customParameter"]; const iframeAttrIdentifier = "ourIframe"; const currentUrl = new URL(window.location.href); let parametersString = ""; validParameters.forEach(parameter => { const parameterValue = currentUrl.searchParams.get(parameter); if (parameterValue !== null) { parametersString += "&" + parameter + "=" + parameterValue; } }); const iframes = document.getElementsByTagName("iframe"); for (let iframe of iframes) { if (iframe.getAttribute(iframeAttrIdentifier) !== null) { let iframeSrc = iframe.getAttribute("data-src"); if (!iframeSrc.includes("?")) { iframeSrc += "?"; } iframeSrc += parametersString; iframe.setAttribute("src", iframeSrc) } } } addUrlParamsToIframeSrcs(); </script>

{
"authentication":
{
"apiKey": "my_very_secret_api_key",
"propKey": "secret_key_for_prop_XXXXXX"
},
"bookId": "[BOOKID]",
"invoice":
[
{
"description": "Booking.com Commission",
"status": "",
"qty": "1",
"price": "-[COMMISSIONNUM]",
"vatRate": "7.00",
"type": "0",
"invoiceeId": ""
}
]
}


  • ul list
    - definition
  • ul list
    • ul list
      • ul list


  1. ol list
  2. ol list
    1. ol list
      1. ol list


internal link (pipe)

external link (no pipe)


Warning used to point at information which is critical

Format of an important warning


Tip used for additional functions, references etc.

Required Skills:

Info

Use the context help for information on each setting. used for reference to the context help

used for reference to the settings menu left

used for reference to the user menu top

Click on the 'User' icon on the top right and then on 'Account Management (in the old control panel SUB ACCOUNT in the top right)

Klicken Sie auf das 'User Icon' oben rechts und dann auf 'Account Management' (im alten Control Panel gehen Sie zu SUB ACCOUNTS im Menu oben rechts)

Used for news about new feature

Used for news about upgrade

Used for news important info

Used for news new partner

Used for news

Used for news webinar

website

no [[wiki]] ''markup'' used for content which should not show in wiki format i.e. links which should not be clickable.


Horizontal line Text before used on the news to separate the news (first before a line is shown in the news module on the Dashboard)


Text after

Inline style red text used to apply individual css - only for temporary special formatting on the start pages. For other formats classes should be created.

Inline style green text

3 Hide content which is being worked on

Hide a section NOTE: Hidden content can not have headlines because headlines are not hidden

4 Collapsible Elements

Used for FAQ, Examples

Example: Headline for collapsible text

This is the collapsed text.

https://www.mediawiki.org/wiki/Manual:Collapsible_elements

5 Images

https://www.mediawiki.org/wiki/Help:Images Images with a "view large link" - images can be animated gifs

Wizard calendar.gif view large

linked image

Wizard calendar.gif


Centered

Wizard calendar.gif


You might need to do a couple of hard refreshes to see the uploaded image. Or try a different browser.

6 pdf

Download the tutorial

7 Videos

7.1 Youtube


7.2 MP4 Upload


Centered

8 Tables

https://www.mediawiki.org/wiki/Help:Tables

Item Quantity
0.3 kg $0.65
0.125 kg $1.25
Table
Item Quantity Price
Bread 0.3 kg $0.65
Butter 0.125 kg $1.25
Total $1.90

9 Formatting of content types

9.1 Examples

Example on individual page: https://wiki.beds24.com/index.php/Combine_individual_rooms_into_a_roomtype

Use "Collapsible" if there are many examples on the page or if examples are long.

9.2 Headline for collapsible text Make sure you add the correct hierarchy if you want them to show in the agenda

This is the collapsed text.

9.3 Step by step instructions

Step 1: Summary of what do do

You need to.....

  • Do this
  • Do that


Step 2: : Summary of what do do (optional)

add optional if the step is not required

Step 3:


Step 4:


Step 5:

Step 1: Collapible

  1. do this
  2. Press SAVE

10 How to

10.1 Add image

Add image: http://recordit.co/Y6MG4bnTiR

You can adjust the size.

10.2 Change Image

https://wiki.beds24.com/index.php/file:IMAGENAME.png

https://wiki.beds24.com/wikiDE/index.php/Datei:IMAGENAME.png

10.3 Make a redirect

#REDIRECT [[pagename]]

#REDIRECT [[:Category:Glossary]]

https://www.mediawiki.org/wiki/Help:Redirects

11 All Pages and categories

https://wiki.beds24.com/index.php/Special:AllPages

https://wiki.beds24.com/index.php/Special:Categories

12 CSS

DO NOT CHANGE THE CSS WITHOUT CONSULTING WITH ANNETTE

https://wiki.beds24.com/index.php/MediaWiki:Common.css

https://wiki.beds24.com/wikiDE/index.php/MediaWiki:Common.css

13 Sidebar navigation

https://wiki.beds24.com/index.php?title=MediaWiki:Sidebar&action=edit

https://wiki.beds24.com/wikiDE/index.php?title=MediaWiki:Sidebar&action=edit

14 Sample context help

https://wiki.beds24.com/index.php/Setting/sample


15 All Special Pages

https://wiki.beds24.com/index.php/Special:SpecialPages