Tags

Revision as of 12:14, 12 January 2017 by WikiSysop (talk | contribs) (Created page with "Wiki tags are XML-Tags which can be customized by parameters to get a certain output. If you use the "Bookshelf-tag", for example, then the article will contain a index of the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Wiki tags are XML-Tags which can be customized by parameters to get a certain output. If you use the "Bookshelf-tag", for example, then the article will contain a index of the book the article belongs to with links for each chapter.

Tips for working with tags

In both the WYSIWYG and the wikicode editor you will find a tool named InsertMagic. You can use the dropdown menu to have a look at the description of tags and you can insert the tag into an article by clicking "ok".
Note: You only can see the tags in the wikicode editor! If you use the WYSIWYG editor you will just see a normal word that is highlighted in light blue.

BlueSpice includes the following tags, among others:

Parser extension: Description Example
<bs:booklist> Generates a list of articles from the book name space. Filterable. <bs:booklist filter="someMeta:Some|anotherMeta:Val"/>
<booklist>
<bs:bookmeta> Tag for saving arbitrary meta information with a book article. The data is included in the book <bs:bookmeta someMeta="Some Value" anotherMeta="Another Value"/>
<bookmeta>
<bs:bookshelf> Insert the navigation menu by chapter of a book. <bs:bookshelf src="Book:User handbook wiki" float="right"/>
<bookshelf>
<bs:infobox> Creates an infobox with, for example, the last pages released <infobox mode="flaggedrevisions" ns="502" count="7"/>
see EDEKA-Wiki:Administration Extension infobox
<infobox>
<bs:newbies> The magic work hwnewbies lists the newest users. One inserts this in an article like this:
{{#hwnewbies:X}}


X can take a value between 1 and 100. If nothing is given for X, the newest 10 users will be shown.
<bs:pagesvisited> Show the pages visited wherever you want You can add the function to a normal wiki page (for example on your start page) by using the following tag:

<pagesvisited count="7" maxtitlelength="40" />

http://help.blue-spice.org/index.php/PagesVisited
<pagesvisited>
<bs:statistics:progress> Generates a progress bar whose value depends upon the appearance of a given text found in the body and an upper limit defined by the user. <bs:statistics:progress basecount="200" progressitem="OK" width="150" />

Generates a 150 pixel wide progress bar which will display a value of 75% when the word "OK" appears 150 times in the body of the article (200 times would then show 100%).
<bs:universalexport:exclude> Alias for <bs:universalexport:noexport>
<bs:universalexport:exclude>
<bs:universalexport:excludearticle> This tag is only designated for system-internal use. At the moment it has no function.
<universalexport:excludearticle>
<bs:universalexport:hidetitle> Disables the export of article headings. <bs:uehidetitle />
<universalexport:hidetitle>
<bs:universalexport:meta> Allows giving arbitrary meta data which appears in the export document independently of which export template is used. Depending on the export backend, this data may also be included in the meta data of the export document. At the moment, this is generally used system-internally. <bs:universalexport:meta Department="Finance" Security-level="5" />
<universalexport:meta>
<bs:universalexport:noexport> leaves out the area/contents marked by the tag when exporting <bs:uenoexport>Not included in export</bs:uenoexport>
<universalexport:noexport>
<bs:universalexport:pagebreak> forces a page break at the point of the tag <bs:uepagebreak />
<universalexport:pagebreak>
<bs:universalexport:params> Similar to <bs:universalexport:meta>. However, the data affects the export itself. There, for example an export template can be chosen. This tag is also generally for system-internal use at the moment. <bs:universalexport:params template="BlueSpice Landscape" />
<universalexport:params>
<bs:wantedarticle> When you suggest an article, it will be placed on the list of wanted articles. You can see the list of wanted articles at the special page, wanted articles. Integrating via the template mechanism;
<bs:wantedarticles>
<bs:wishlist>
<wantedarticle>
<wantedarticles>
<wishlist>
<bs:watchlist> Your watchlist gives you a handy overview of the changes to an individually chosen collection of pages. WatchList
<watchlist>
<categorytree> Display of a category tree with the categories and pages belonging to it <categorytree mode=categories hideroot=on style="float:right; clear:right; margin-left:1ex; border:1px solid gray; padding:0.7ex; background-color:white;">!Main category</categorytree>
<dynamicpagelist> Dynamically generates a list of pages. http://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)
<gallery> A series of images next to each other <gallery perrow="4"><br /> Image:Brochure.jpg|Page 1<br /> Image:Brochure2.jpg|Page 2<br /> Image:Brochure3.jpg|Page 3<br /> Image:Brochure4.jpg|Page 4<br /> </gallery>
<imagemap> Image with clickable links <imagemap><br /> Image:StartPage_Wiki.JPG|650px<br /> rect 7 37 186 215 [[StartPage|The wiki's logo]]<br /> rect 11 249 190 365 [[Help:Wiki-Structure|Navigation bar]]<br /> rect 11 539 192 726 [[Help:Wiki-Structure|Tools]]<br /> rect 931 4 1070 27 [[Help:Wiki-Structure|Search box]]<br /> rect 884 3 917 32 [[Help:Wiki-Structure|Logging on and off]]<br /> default [[StartPage]]<br /> desc bottom-right<br /> </imagemap>
<inputbox> Create a search box, a button for creating new pages or link to a discussion page.http://www.mediawiki.org/wiki/Extension:InputBox <inputbox><br /> type=search<br /> width=42<br /> placeholder=Search term<br /> buttonlabel=Search<br /> searchbuttonlabel=Full text<br /> break=no<br /> </inputbox>
<nopdf> The text within the tag will not be shown in PDF documents.

This text will not appear in PDF documents.

<nowiki> No wiki formatting no example
<pagetemplates> Page templates are model page designs set up in advance which make it easier to create new pages. You will be shown a list of the templates available when you edit a new page. ==Minutes of the meeting on the ... ==
* In attendance:
* Absent:
* Excused...
<pdfexcludepage> Alias of <bs:universalexport:excludearticle>
<pdfhidetitle> Texts entered between the tags will not be displayed no example
<pdfpagebreak> Forces a page brake when exported as a PDF. no example
<poem> The poem tag makes formatting poetry or similarly structured texts easy. Line breaks in the source text are kept so that you do not need to use <br /> or indentation with ":".
Wiki links, italics and so on are available as usual.
<poem><br /> <br /> ''Jaques:''<br /> All the world's a stage, And all the men and women merely players; They have their exits and their entrances, And one man in his time plays many parts, His acts being seven ages.</poem>

http://en.wikipedia.org/wiki/H:POEM#Retaining_newlines_and_spaces
<pre> Text between these tags is displayed as preformatted text. no example
<quiz> Function for creating multiple-choice, true/false, or text questions with evaluation
<ref> Creates footnotes.
<references> List of the footnotes with explanation
<source> http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi/ <source lang="php"><br /> <br /> <br /> <br /> HTML-Text<br /> <br /> </source>
<websiteframe> Put a website in a frame. <websiteFrame><br /> website= "website URL"<br /> name= "String"<br /> align= "top, middle, bottom, left, right"<br /> height= "Number of pixels"<br /> width= "Number of pixels or percent"<br /> border= "Number of pixels"<br /> scroll= "yes, no, auto"<br /> longdescription= "long description of the URL"<br /> </websiteFrame>

Attachments

Discussions