<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tweeki.kollabor.at/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bmulckhu</id>
	<title>Tweeki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://tweeki.kollabor.at/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bmulckhu"/>
	<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/wiki/Special:Contributions/Bmulckhu"/>
	<updated>2026-04-05T19:20:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Custom_Styling&amp;diff=670</id>
		<title>Custom Styling</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Custom_Styling&amp;diff=670"/>
		<updated>2020-03-09T17:03:28Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: Added the mediawik:tweeki.css option&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
As usual you have several options to add custom CSS to your MediaWiki installation (see also the [http://www.mediawiki.org/wiki/Manual:CSS manual pages on mediawiki.org]):&lt;br /&gt;
&lt;br /&gt;
* via '''[[Mediawiki:Common.css]]''': be aware that it is not used for the login and preferences pages (you can, hower, [http://www.mediawiki.org/wiki/Manual:CSS#Styles_not_working_on_Special:UserLogin_or_Special:Preferences.3F allow it] if you don't care for the security implications)&lt;br /&gt;
* via '''[[Mediawiki:Tweeki.css]]''': more specifically, this CSS will only be loaded when you're using Tweeki as a skin. Same exceptions as above!&lt;br /&gt;
* via your own extension&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$wgResourceModules['xxx'] = [&lt;br /&gt;
    'styles' =&amp;gt; 'styles.css',&lt;br /&gt;
    'localBasePath' =&amp;gt; '.',&lt;br /&gt;
    'remoteExtPath' =&amp;gt; '',&lt;br /&gt;
    'position' =&amp;gt; 'top'&lt;br /&gt;
];&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=653</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=653"/>
		<updated>2019-04-18T22:49:30Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Hide parts of the navigation on specific pages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
'''NB''': To make a section or an element ''hideable'', it must be enabled in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;. Please refer to [[Configuration_Options#Hiding Page Elements|Configuration Options]].&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
=== Show a text block in a navigational section ===&lt;br /&gt;
&lt;br /&gt;
If you define your own special element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can insert any html into navigational sections.&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinSpecialElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
      echo '&amp;lt;nowiki&amp;gt;&amp;lt;div&amp;gt;my text&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;';&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the text will be shown.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Styling Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now this was a ''very'' simple example, which might also be achieved without Bootstrap. But now try adding &amp;lt;code&amp;gt;img-circle&amp;lt;/code&amp;gt; and see how that changes the appearance:&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|300px| class=img-circle]]&lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images Bootstrap documentation] for details on styling images.&lt;br /&gt;
&lt;br /&gt;
=== Example: Using grids ===&lt;br /&gt;
&lt;br /&gt;
One of the major features of Bootstrap is the use of &amp;quot;grids&amp;quot;, which can make your website responsive and adapt automatically to the size of the media (screen size). Consider this example with 3 panels in a grid width one row and three columns (on large screens).&lt;br /&gt;
Then see what it does when you change the size of your browser window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please refer to the [http://getbootstrap.com/docs/3.3/css/#grid Bootstrap documentation] for all details on grids.&lt;br /&gt;
&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MediaWiki:Tweeki.css&amp;lt;/code&amp;gt; system messages. However, it has the drawback that it doesn't get loaded on the login page and user preferences page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Template:Carousel&amp;diff=580</id>
		<title>Template:Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Template:Carousel&amp;diff=580"/>
		<updated>2018-06-13T10:17:00Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the template &amp;quot;{{PAGENAME}}&amp;quot;. This template will display Bootstrap Carrousel with five images (incl. titles and captions). It uses custom styling to enable ''fading'' instead of ''sliding'' images. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=&lt;br /&gt;
|Title1=&lt;br /&gt;
|Caption1=&lt;br /&gt;
|Image2=&lt;br /&gt;
|Title2=&lt;br /&gt;
|Caption2=&lt;br /&gt;
|Image3=&lt;br /&gt;
|Title3=&lt;br /&gt;
|Caption3=&lt;br /&gt;
|Image4=&lt;br /&gt;
|Title4=&lt;br /&gt;
|Caption4=&lt;br /&gt;
|Image5=&lt;br /&gt;
|Title5=&lt;br /&gt;
|Caption5=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]&amp;lt;/span&amp;gt; to inspect the template text.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;row main-slider&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;MyCarousel&amp;quot; class=&amp;quot;carousel slide carousel-fade&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;3&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;!-- Carousel items --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 1 : Active --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image1|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title1|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption1}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide1 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 2 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image2|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption2}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide2 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 3 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image3|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title3|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption3}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide3 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 4 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image4|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title4|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption4}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide4 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 5--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image5|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title5|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption5}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide5 --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-inner --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!-- /#MyCarousel --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.main-slider --&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=577</id>
		<title>Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=577"/>
		<updated>2018-06-06T15:31:19Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Using custom styling and template for Bootstrap carousel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;alert alert-warning&amp;quot;&amp;gt;This page exists just for testing purposes. Carousels are not currently supported by Tweeki out of the box. Patches with CSS fixes and the necessary code to allow the &amp;lt;code&amp;gt;data-slider&amp;lt;/code&amp;gt; attribute in &amp;lt;code&amp;gt;btn&amp;lt;/code&amp;gt; elements are warmly welcome.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This said, there is couple of workarounds, that you could use if you're really eager to get a carousel on you wiki:&lt;br /&gt;
# Use the standard Bootstrap-slider carousel ''without the controls''&lt;br /&gt;
# Use the [https://www.mediawiki.org/wiki/Extension:Widgets extension Widgets] if you need a full functioning carousel&lt;br /&gt;
&lt;br /&gt;
Additionally, you can also adapt the standard Bootstrap ''slider'' to a ''fading'' carousel. This will make your carousel less &amp;quot;flashy&amp;quot;. You will have to skip the ''controls'' part of the carousel as well, though.&lt;br /&gt;
&lt;br /&gt;
== Standard carousel without controls ==&lt;br /&gt;
&lt;br /&gt;
This is the more-or-less standard bootstrap carousel code, with the ''controls'' part removed. Then, only the images are adapted to wiki text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
  &amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NB: Make sure to remove all the indents (spaces), or they will mess up the layout!'''&lt;br /&gt;
&lt;br /&gt;
=== Example Standard Carousel - no controls ===&lt;br /&gt;
&lt;br /&gt;
This is what the result of the code above will look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap carousel using the Widget extension ==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Using custom styling and template for Bootstrap carousel ==&lt;br /&gt;
&lt;br /&gt;
WORK IN PROGRESS&lt;br /&gt;
&lt;br /&gt;
''Fading'' from one image to the next is not a standard option for a Bootstrap carousel. To implement fading you need to add custom styling to [[MediaWiki:Common.css]] or [[Mediawiki:Tweeki.css]]. You can find the CSS you need to implement ''fading'' here: https://codepen.io/redfrost/pen/QwWMwb&lt;br /&gt;
&lt;br /&gt;
Because Bootstrap carousel requires quite some html-code it makes sense to use a template. You can find an example of a working template for a carousel on [[Template:Carousel]] - feel free to copy it to your site!&lt;br /&gt;
&lt;br /&gt;
Using this template you can display a carousel with five slides in a more convenient way: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=Screenshot_tweeki.png&lt;br /&gt;
|Title1= Screenshot 1&lt;br /&gt;
|Caption1= Website of Tweeki &lt;br /&gt;
|Image2=Screenshot_skrifo.png&lt;br /&gt;
|Title2= Screenshot 2&lt;br /&gt;
|Caption2= Website made with Tweeki&lt;br /&gt;
|Image3=Screenshot_tweeki.png&lt;br /&gt;
|Title3= Screenshot 3&lt;br /&gt;
|Caption3=Website of Tweeki&lt;br /&gt;
|Image4=Screenshot_skrifo.png&lt;br /&gt;
|Title4= Screenshot 4&lt;br /&gt;
|Caption4= Website made with Tweeki&lt;br /&gt;
|Image5=Screenshot_tweeki.png&lt;br /&gt;
|Title5= Screenshot 5&lt;br /&gt;
|Caption5=Website of Tweeki&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=Screenshot_tweeki.png&lt;br /&gt;
|Title1= Screenshot 1&lt;br /&gt;
|Caption1= Website of Tweeki &lt;br /&gt;
|Image2=Screenshot_skrifo.png&lt;br /&gt;
|Title2= Screenshot 2&lt;br /&gt;
|Caption2= Website made with Tweeki&lt;br /&gt;
|Image3=Screenshot_tweeki.png&lt;br /&gt;
|Title3= Screenshot 3&lt;br /&gt;
|Caption3=Website of Tweeki&lt;br /&gt;
|Image4=Screenshot_skrifo.png&lt;br /&gt;
|Title4= Screenshot 4&lt;br /&gt;
|Caption4= Website made with Tweeki&lt;br /&gt;
|Image5=Screenshot_tweeki.png&lt;br /&gt;
|Title5= Screenshot 5&lt;br /&gt;
|Caption5=Website of Tweeki&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== This example is not working ... ==&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Bottom&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;btn class=&amp;quot;left carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;prev&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-left&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Previous&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;btn class=&amp;quot;right carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;next&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-right&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Next&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=576</id>
		<title>Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=576"/>
		<updated>2018-06-06T15:25:19Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Using custom styling and template for Bootstrap carousel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;alert alert-warning&amp;quot;&amp;gt;This page exists just for testing purposes. Carousels are not currently supported by Tweeki out of the box. Patches with CSS fixes and the necessary code to allow the &amp;lt;code&amp;gt;data-slider&amp;lt;/code&amp;gt; attribute in &amp;lt;code&amp;gt;btn&amp;lt;/code&amp;gt; elements are warmly welcome.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This said, there is couple of workarounds, that you could use if you're really eager to get a carousel on you wiki:&lt;br /&gt;
# Use the standard Bootstrap-slider carousel ''without the controls''&lt;br /&gt;
# Use the [https://www.mediawiki.org/wiki/Extension:Widgets extension Widgets] if you need a full functioning carousel&lt;br /&gt;
&lt;br /&gt;
Additionally, you can also adapt the standard Bootstrap ''slider'' to a ''fading'' carousel. This will make your carousel less &amp;quot;flashy&amp;quot;. You will have to skip the ''controls'' part of the carousel as well, though.&lt;br /&gt;
&lt;br /&gt;
== Standard carousel without controls ==&lt;br /&gt;
&lt;br /&gt;
This is the more-or-less standard bootstrap carousel code, with the ''controls'' part removed. Then, only the images are adapted to wiki text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
  &amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NB: Make sure to remove all the indents (spaces), or they will mess up the layout!'''&lt;br /&gt;
&lt;br /&gt;
=== Example Standard Carousel - no controls ===&lt;br /&gt;
&lt;br /&gt;
This is what the result of the code above will look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap carousel using the Widget extension ==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Using custom styling and template for Bootstrap carousel ==&lt;br /&gt;
&lt;br /&gt;
WORK IN PROGRESS&lt;br /&gt;
&lt;br /&gt;
''Fading'' from one image to the next is not a standard option for a Bootstrap carousel. To implement fading you need to add custom styling to [[MediaWiki:Common.css]] or [[Mediawiki:Tweeki.css]]. You can find the CSS you need to implement ''fading'' here: https://codepen.io/redfrost/pen/QwWMwb&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=Screenshot_tweeki.png&lt;br /&gt;
|Title1= Screenshot 1&lt;br /&gt;
|Caption1= Website of Tweeki &lt;br /&gt;
|Image2=Screenshot_skrifo.png&lt;br /&gt;
|Title2= Screenshot 2&lt;br /&gt;
|Caption2= Website made with Tweeki&lt;br /&gt;
|Image3=Screenshot_tweeki.png&lt;br /&gt;
|Title3= Screenshot 3&lt;br /&gt;
|Caption3=Website of Tweeki&lt;br /&gt;
|Image4=Screenshot_skrifo.png&lt;br /&gt;
|Title4= Screenshot 4&lt;br /&gt;
|Caption4= Website made with Tweeki&lt;br /&gt;
|Image5=Screenshot_tweeki.png&lt;br /&gt;
|Title5= Screenshot 5&lt;br /&gt;
|Caption5=Website of Tweeki&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== This example is not working ... ==&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Bottom&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;btn class=&amp;quot;left carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;prev&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-left&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Previous&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;btn class=&amp;quot;right carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;next&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-right&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Next&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=575</id>
		<title>Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=575"/>
		<updated>2018-06-06T15:19:28Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Using custom styling and template for Bootstrap carousel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;alert alert-warning&amp;quot;&amp;gt;This page exists just for testing purposes. Carousels are not currently supported by Tweeki out of the box. Patches with CSS fixes and the necessary code to allow the &amp;lt;code&amp;gt;data-slider&amp;lt;/code&amp;gt; attribute in &amp;lt;code&amp;gt;btn&amp;lt;/code&amp;gt; elements are warmly welcome.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This said, there is couple of workarounds, that you could use if you're really eager to get a carousel on you wiki:&lt;br /&gt;
# Use the standard Bootstrap-slider carousel ''without the controls''&lt;br /&gt;
# Use the [https://www.mediawiki.org/wiki/Extension:Widgets extension Widgets] if you need a full functioning carousel&lt;br /&gt;
&lt;br /&gt;
Additionally, you can also adapt the standard Bootstrap ''slider'' to a ''fading'' carousel. This will make your carousel less &amp;quot;flashy&amp;quot;. You will have to skip the ''controls'' part of the carousel as well, though.&lt;br /&gt;
&lt;br /&gt;
== Standard carousel without controls ==&lt;br /&gt;
&lt;br /&gt;
This is the more-or-less standard bootstrap carousel code, with the ''controls'' part removed. Then, only the images are adapted to wiki text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
  &amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NB: Make sure to remove all the indents (spaces), or they will mess up the layout!'''&lt;br /&gt;
&lt;br /&gt;
=== Example Standard Carousel - no controls ===&lt;br /&gt;
&lt;br /&gt;
This is what the result of the code above will look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap carousel using the Widget extension ==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Using custom styling and template for Bootstrap carousel ==&lt;br /&gt;
&lt;br /&gt;
WORK IN PROGRESS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=Screenshot_tweeki.png&lt;br /&gt;
|Title1= Screenshot 1&lt;br /&gt;
|Caption1= Website of Tweeki &lt;br /&gt;
|Image2=Screenshot_skrifo.png&lt;br /&gt;
|Title2= Screenshot 2&lt;br /&gt;
|Caption2= Website made with Tweeki&lt;br /&gt;
|Image3=Screenshot_tweeki.png&lt;br /&gt;
|Title3= Screenshot 3&lt;br /&gt;
|Caption3=Website of Tweeki&lt;br /&gt;
|Image4=Screenshot_skrifo.png&lt;br /&gt;
|Title4= Screenshot 4&lt;br /&gt;
|Caption4= Website made with Tweeki&lt;br /&gt;
|Image5=Screenshot_tweeki.png&lt;br /&gt;
|Title5= Screenshot 5&lt;br /&gt;
|Caption5=Website of Tweeki&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== This example is not working ... ==&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Bottom&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;btn class=&amp;quot;left carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;prev&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-left&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Previous&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;btn class=&amp;quot;right carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;next&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-right&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Next&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Template:Carousel&amp;diff=574</id>
		<title>Template:Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Template:Carousel&amp;diff=574"/>
		<updated>2018-06-06T15:15:03Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: Created page with &amp;quot;&amp;lt;noinclude&amp;gt; This is the template &amp;quot;{{PAGENAME}}&amp;quot;. This template will display Bootstrap Carrousel with five images (incl. titles and captions). It uses custom styling to enable...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the template &amp;quot;{{PAGENAME}}&amp;quot;. This template will display Bootstrap Carrousel with five images (incl. titles and captions). It uses custom styling to enable ''fading'' instead of ''sliding'' images. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=&lt;br /&gt;
|Title1=&lt;br /&gt;
|Caption1=&lt;br /&gt;
|Image2=&lt;br /&gt;
|Title2=&lt;br /&gt;
|Caption2=&lt;br /&gt;
|Image3=&lt;br /&gt;
|Title3=&lt;br /&gt;
|Caption3=&lt;br /&gt;
|Image4=&lt;br /&gt;
|Title4=&lt;br /&gt;
|Caption4=&lt;br /&gt;
|Image5=&lt;br /&gt;
|Title5=&lt;br /&gt;
|Caption5=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]&amp;lt;/span&amp;gt; to inspect the template text.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;row main-slider&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;CarrouselTE1&amp;quot; class=&amp;quot;carousel slide carousel-fade&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;3&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;!-- Carousel items --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 1 : Active --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image1|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title1|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption1}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide1 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 2 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image2|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption2}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide2 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 3 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image3|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title3|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption3}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide3 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 4 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image4|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title4|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption4}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide4 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 5--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image5|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title5|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption5}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide5 --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-inner --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /#MyCarousel --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.main-slider --&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=573</id>
		<title>Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=573"/>
		<updated>2018-06-06T15:12:11Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Using custom styling and template for Bootstrap carousel */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;alert alert-warning&amp;quot;&amp;gt;This page exists just for testing purposes. Carousels are not currently supported by Tweeki out of the box. Patches with CSS fixes and the necessary code to allow the &amp;lt;code&amp;gt;data-slider&amp;lt;/code&amp;gt; attribute in &amp;lt;code&amp;gt;btn&amp;lt;/code&amp;gt; elements are warmly welcome.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This said, there is couple of workarounds, that you could use if you're really eager to get a carousel on you wiki:&lt;br /&gt;
# Use the standard Bootstrap-slider carousel ''without the controls''&lt;br /&gt;
# Use the [https://www.mediawiki.org/wiki/Extension:Widgets extension Widgets] if you need a full functioning carousel&lt;br /&gt;
&lt;br /&gt;
Additionally, you can also adapt the standard Bootstrap ''slider'' to a ''fading'' carousel. This will make your carousel less &amp;quot;flashy&amp;quot;. You will have to skip the ''controls'' part of the carousel as well, though.&lt;br /&gt;
&lt;br /&gt;
== Standard carousel without controls ==&lt;br /&gt;
&lt;br /&gt;
This is the more-or-less standard bootstrap carousel code, with the ''controls'' part removed. Then, only the images are adapted to wiki text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
  &amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NB: Make sure to remove all the indents (spaces), or they will mess up the layout!'''&lt;br /&gt;
&lt;br /&gt;
=== Example Standard Carousel - no controls ===&lt;br /&gt;
&lt;br /&gt;
This is what the result of the code above will look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap carousel using the Widget extension ==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Using custom styling and template for Bootstrap carousel ==&lt;br /&gt;
&lt;br /&gt;
WORK IN PROGRESS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This is the template &amp;quot;{{PAGENAME}}&amp;quot;. This template will display Bootstrap Carrousel with five images (incl. titles and captions). It uses custom styling to enable ''fading'' instead of ''sliding'' images. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Carousel&lt;br /&gt;
|Image1=&lt;br /&gt;
|Title1=&lt;br /&gt;
|Caption1=&lt;br /&gt;
|Image2=&lt;br /&gt;
|Title2=&lt;br /&gt;
|Caption2=&lt;br /&gt;
|Image3=&lt;br /&gt;
|Title3=&lt;br /&gt;
|Caption3=&lt;br /&gt;
|Image4=&lt;br /&gt;
|Title4=&lt;br /&gt;
|Caption4=&lt;br /&gt;
|Image5=&lt;br /&gt;
|Title5=&lt;br /&gt;
|Caption5=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]&amp;lt;/span&amp;gt; to inspect the template text.&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;row main-slider&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;CarrouselTE1&amp;quot; class=&amp;quot;carousel slide carousel-fade&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;3&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#MyCarousel&amp;quot; data-slide-to=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;!-- Carousel items --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 1 : Active --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image1|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title1|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption1}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide1 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 2 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image2|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption2}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide2 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 3 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image3|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title3|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption3}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide3 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 4 --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image4|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title4|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption4}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide4 --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Slide 5--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item &amp;quot;&amp;gt;&lt;br /&gt;
[[File:{{{Image5|}}}{{!}}class=img-responsive{{!}}link=Hoofdpagina]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3&amp;gt;{{{Title5|}}}&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;{{{Caption5}}}&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-caption --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /Slide5 --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.carousel-inner --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /#MyCarousel --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- /.main-slider --&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== This example is not working ... ==&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Bottom&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;btn class=&amp;quot;left carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;prev&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-left&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Previous&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;btn class=&amp;quot;right carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;next&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-right&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Next&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=572</id>
		<title>Carousel</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=Carousel&amp;diff=572"/>
		<updated>2018-06-06T14:44:43Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;alert alert-warning&amp;quot;&amp;gt;This page exists just for testing purposes. Carousels are not currently supported by Tweeki out of the box. Patches with CSS fixes and the necessary code to allow the &amp;lt;code&amp;gt;data-slider&amp;lt;/code&amp;gt; attribute in &amp;lt;code&amp;gt;btn&amp;lt;/code&amp;gt; elements are warmly welcome.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This said, there is couple of workarounds, that you could use if you're really eager to get a carousel on you wiki:&lt;br /&gt;
# Use the standard Bootstrap-slider carousel ''without the controls''&lt;br /&gt;
# Use the [https://www.mediawiki.org/wiki/Extension:Widgets extension Widgets] if you need a full functioning carousel&lt;br /&gt;
&lt;br /&gt;
Additionally, you can also adapt the standard Bootstrap ''slider'' to a ''fading'' carousel. This will make your carousel less &amp;quot;flashy&amp;quot;. You will have to skip the ''controls'' part of the carousel as well, though.&lt;br /&gt;
&lt;br /&gt;
== Standard carousel without controls ==&lt;br /&gt;
&lt;br /&gt;
This is the more-or-less standard bootstrap carousel code, with the ''controls'' part removed. Then, only the images are adapted to wiki text:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
  &amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
  &amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
      [[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
      &amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''NB: Make sure to remove all the indents (spaces), or they will mess up the layout!'''&lt;br /&gt;
&lt;br /&gt;
=== Example Standard Carousel - no controls ===&lt;br /&gt;
&lt;br /&gt;
This is what the result of the code above will look like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- Indicators --&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Wrapper for slides --&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 1&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 2&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=Mainpage|class=img-responsive]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h3 style=&amp;quot;color: red&amp;quot;&amp;gt;Caption 3&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Controls removed --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Bootstrap carousel using the Widget extension ==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
== Using custom styling and template for Bootstrap carousel ==&lt;br /&gt;
&lt;br /&gt;
TBD&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
== This example is not working ... ==&lt;br /&gt;
&amp;lt;div id=&amp;quot;carousel-example-generic&amp;quot; class=&amp;quot;carousel slide&amp;quot; data-ride=&amp;quot;carousel&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;ol class=&amp;quot;carousel-indicators&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;0&amp;quot; class=&amp;quot;active&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li data-target=&amp;quot;#carousel-example-generic&amp;quot; data-slide-to=&amp;quot;2&amp;quot;&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-inner&amp;quot; role=&amp;quot;listbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item active&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_tweeki.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 1&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;item&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Screenshot_skrifo.png|link=|600px]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;carousel-caption&amp;quot;&amp;gt;&lt;br /&gt;
Caption 2&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
Bottom&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;btn class=&amp;quot;left carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;prev&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-left&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Previous&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;btn class=&amp;quot;right carousel-control&amp;quot; role=&amp;quot;button&amp;quot; data-slide=&amp;quot;next&amp;quot;&amp;gt;#carousel-example-generic|&amp;lt;span class=&amp;quot;glyphicon glyphicon-chevron-right&amp;quot; aria-hidden=&amp;quot;true&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;sr-only&amp;quot;&amp;gt;Next&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/btn&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=566</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=566"/>
		<updated>2018-05-02T15:05:44Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Example: Responsive Images */  addition of ing-round example&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Styling Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now this was a ''very'' simple example, which might also be achieved without Bootstrap. But now try adding &amp;lt;code&amp;gt;img-circle&amp;lt;/code&amp;gt; and see how that changes the appearance:&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|300px| class=img-circle]]&lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images Bootstrap documentation] for details on styling images.&lt;br /&gt;
&lt;br /&gt;
=== Example: Using grids ===&lt;br /&gt;
&lt;br /&gt;
One of the major features of Bootstrap is the use of &amp;quot;grids&amp;quot;, which can make your website responsive and adapt automatically to the size of the media (screen size). Consider this example with 3 panels in a grid width one row and three columns (on large screens).&lt;br /&gt;
Then see what it does when you change the size of your browser window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please refer to the [http://getbootstrap.com/docs/3.3/css/#grid Bootstrap documentation] for all details on grids.&lt;br /&gt;
&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MediaWiki:Tweeki.css&amp;lt;/code&amp;gt; system messages. However, it has the drawback that it doesn't get loaded on the login page and user preferences page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=565</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=565"/>
		<updated>2018-05-02T14:55:19Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Example: Using grids */ - small improvement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Responsive Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] &lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images-responsive Bootstrap documentation] for details on &amp;lt;code&amp;gt;img-responsive&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example: Using grids ===&lt;br /&gt;
&lt;br /&gt;
One of the major features of Bootstrap is the use of &amp;quot;grids&amp;quot;, which can make your website responsive and adapt automatically to the size of the media (screen size). Consider this example with 3 panels in a grid width one row and three columns (on large screens).&lt;br /&gt;
Then see what it does when you change the size of your browser window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|class=img-responsive| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please refer to the [http://getbootstrap.com/docs/3.3/css/#grid Bootstrap documentation] for all details on grids.&lt;br /&gt;
&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MediaWiki:Tweeki.css&amp;lt;/code&amp;gt; system messages. However, it has the drawback that it doesn't get loaded on the login page and user preferences page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=564</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=564"/>
		<updated>2018-05-02T14:47:54Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Example: Grids */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Responsive Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] &lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images-responsive Bootstrap documentation] for details on &amp;lt;code&amp;gt;img-responsive&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example: Using grids ===&lt;br /&gt;
&lt;br /&gt;
One of the major features of Bootstrap is the use of &amp;quot;grids&amp;quot;, which can make your website responsive and adapt automatically to the size of the media (screen size). Consider this example with 3 panels in a grid width one row and three columns (on large screens).&lt;br /&gt;
Then see what it does when you change the size of your browser window.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|200px| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|200px| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|200px| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the result looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;flex-row row&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|200px| link=]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 1&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- end of col 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|200px| link=]]  &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 2&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 2--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-xs-12 col-md-6 col-lg-4&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel panel-default&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;Title 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;[[File:Screenshot tweeki.png|200px| link=]] &lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-footer&amp;quot;&amp;gt;Footer text 3&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of pan --&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of col 3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!-- End of row 1--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please refer to the [http://getbootstrap.com/docs/3.3/css/#grid Bootstrap documentation] for all details on grids.&lt;br /&gt;
&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MediaWiki:Tweeki.css&amp;lt;/code&amp;gt; system messages. However, it has the drawback that it doesn't get loaded on the login page and user preferences page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=563</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=563"/>
		<updated>2018-05-02T14:11:03Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Add custom CSS */  small additions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Responsive Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] &lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images-responsive Bootstrap documentation] for details on &amp;lt;code&amp;gt;img-responsive&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;MediaWiki:Tweeki.css&amp;lt;/code&amp;gt; system messages. However, it has the drawback that it doesn't get loaded on the login page and user preferences page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=562</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=562"/>
		<updated>2018-05-02T14:07:08Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Styling */  correction&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Responsive Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] &lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images-responsive Bootstrap documentation] for details on &amp;lt;code&amp;gt;img-responsive&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; system message. However, it has the drawback that it doesn't get loaded on the login page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
	<entry>
		<id>https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=561</id>
		<title>How-Tos</title>
		<link rel="alternate" type="text/html" href="https://tweeki.kollabor.at/w/index.php?title=How-Tos&amp;diff=561"/>
		<updated>2018-05-02T14:04:20Z</updated>

		<summary type="html">&lt;p&gt;Bmulckhu: /* Styling */  Responsive images&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
== Complete example configurations ==&lt;br /&gt;
&lt;br /&gt;
Have a look at the [[Setup for tweeki.thai-land.at]] or the much more elaborate [[Setup for skriptenforum.net]].&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
&lt;br /&gt;
=== Hide parts of the navigation on specific pages ===&lt;br /&gt;
&lt;br /&gt;
You can use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[Parser Functions#Tweekihide parser function|parser function]]. See the [[Navigation|documentation on navigation]] to see a list of navigational sections and elements that can be hidden via this function. &lt;br /&gt;
&lt;br /&gt;
Example: if you want to hide the right sidebar on the main page, add the code &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tweekihide:sidebar-right}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to the page's content.&lt;br /&gt;
&lt;br /&gt;
=== Show navigation or parts of it only for logged in users ===&lt;br /&gt;
&lt;br /&gt;
Just add the [[Navigation|navigational sections and elements]] you want to hide for anonymous users to the &amp;lt;code&amp;gt;$wgTweekiSkinHideAnon&amp;lt;/code&amp;gt; array in LocalSettings.php, e.g.&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinHideAnon = array( 'navbar' );&lt;br /&gt;
&lt;br /&gt;
=== Add links to the footer ===&lt;br /&gt;
&lt;br /&gt;
You can either use [http://www.mediawiki.org/wiki/Manual:Footer#Add_links_to_the_footer Mediawiki's default mechanisms] or you can add your own link or any [[Navigation|navigational section or element]] by placing it in [[MediaWiki:Tweeki-footer]] or [[MediaWiki:Tweeki-footer-custom]]. See also the detailed [[Footer Examples]].&lt;br /&gt;
&lt;br /&gt;
=== Define your own tooltips and accesskeys for navigational elements ===&lt;br /&gt;
&lt;br /&gt;
You just have to find out the id of the element and then edit &amp;lt;code&amp;gt;MediaWiki:Tooltip-MY-ID&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-MY-ID&amp;lt;/code&amp;gt;. If would like to have a tooltip and/or an accesskey for the toolbox dropdown you would just have to change the content of &amp;lt;code&amp;gt;MediaWiki:Tooltip-p-toolbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;MediaWiki:Accesskey-p-toolbox&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Show or hide navigational elements depending e.g. on category ===&lt;br /&gt;
&lt;br /&gt;
If you define your own navigational element in your extension or in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;, you can apply whatever logic you want. Your custom function should return a string that can be interpreted as a [[Buttons|button]].&lt;br /&gt;
&lt;br /&gt;
Definition in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; (or in your extension):&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinNavigationalElements['MYNAV'] = 'mynav';&lt;br /&gt;
 &lt;br /&gt;
 function mynav( $skin, $context ) {&lt;br /&gt;
     $categories = $skin-&amp;gt;getSkin()-&amp;gt;getTitle()-&amp;gt;getParentCategories();&lt;br /&gt;
     if( is_array( $categories ) &amp;amp;&amp;amp; array_key_exists( 'Category:MyCategory', $categories ) ) {&lt;br /&gt;
         return 'myLink';&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Now you can use &amp;lt;code&amp;gt;MYNAV&amp;lt;/code&amp;gt; in any navigational section (e.g. the sidebar) and the link/button will only be shown on pages that belong to category 'MyCategory'.&lt;br /&gt;
&lt;br /&gt;
== Styling ==&lt;br /&gt;
&lt;br /&gt;
Tweeki comes standard with Twitter Bootstrap 3.3.7 installed; Common CSS, Components and Javascript components are all installed. &lt;br /&gt;
 &lt;br /&gt;
So don't forget to check [http://getbootstrap.com/docs/3.3/|the Bootstrap 3.3 documentation] for all available styling options! Note that not all components are compatible with wiki text! Several Bootstrap components have been adapted for use with Tweeki; please refer to the '''Components menu''' above to read those docs. &lt;br /&gt;
&lt;br /&gt;
=== Example: Responsive Images ===&lt;br /&gt;
&lt;br /&gt;
This is a simple example of what Bootstrap can do to help you style your images. To make images responsive and scales to the parent element, within Tweeki just apply the &amp;lt;code&amp;gt;class=img-responsive&amp;lt;/code&amp;gt; to the image within the wiki text.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result (make your browser window wider and/or narrower to see the image of the screenshot resize automatically ):&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot tweeki.png|class=img-responsive]] for details on &amp;lt;code&amp;gt;imp-responsive&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [http://getbootstrap.com/docs/3.3/css/#images-responsive Bootstrap documentation]&lt;br /&gt;
=== Add custom CSS ===&lt;br /&gt;
&lt;br /&gt;
The easiest way to add custom CSS is via the &amp;lt;code&amp;gt;MediaWiki:Common.css&amp;lt;/code&amp;gt; system message. However, it has the drawback that it doesn't get loaded on the login page.&lt;br /&gt;
&lt;br /&gt;
Another possibility is to [https://www.mediawiki.org/wiki/Manual:Developing_extensions create your own extension]. Place a CSS file in your extension directory. Then in your &amp;lt;code&amp;gt;extension.json&amp;lt;/code&amp;gt; file add a ''Resource Module'' (replace “MYEXTENSION“ with your extension's name):&lt;br /&gt;
&lt;br /&gt;
 …&lt;br /&gt;
 &amp;quot;ResourceModules&amp;quot;: {&lt;br /&gt;
 		&amp;quot;x.MYEXTENSION.styles&amp;quot;: {&lt;br /&gt;
 			&amp;quot;styles&amp;quot;: [&lt;br /&gt;
 				&amp;quot;x.mystyles.css&amp;quot;&lt;br /&gt;
 			]&lt;br /&gt;
 		}&lt;br /&gt;
 	},&lt;br /&gt;
 &amp;quot;ResourceFileModulePaths&amp;quot;: {&lt;br /&gt;
 		&amp;quot;localBasePath&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 		&amp;quot;remoteExtPath&amp;quot;: &amp;quot;MYEXTENSION&amp;quot;&lt;br /&gt;
 	},&lt;br /&gt;
  …&lt;br /&gt;
&lt;br /&gt;
Load the module either somewhere in your extension or add the following line to &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomCSS[] = 'x.MYEXTENSION.styles';&lt;br /&gt;
&lt;br /&gt;
'''Attention!''' Your CSS file will be included via Ressource Loader. As the mechanism seems to sort the files in alphabetical order and you want your stylings to be loaded last (in order to overwrite default stylings) chose a name for your ''Resource Module'' accordingly (e.g. start with an 'x' as in the example).&lt;br /&gt;
&lt;br /&gt;
=== Completely replace bootstrap files with customized versions ===&lt;br /&gt;
&lt;br /&gt;
You can download your own customized version of bootstrap at [http://getbootstrap.com/customize/ getbootstrap.com] or get a free bootstrap theme from [http://bootswatch.com/ bootswatch.com]. To replace the default styles and scripts create your own extension, put the files in the extension folder and use the &amp;lt;code&amp;gt;$wgTweekiSkinCustomizedBootstrap&amp;lt;/code&amp;gt; configuration:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinCustomizedBootstrap = array(&lt;br /&gt;
        'localBasePath' =&amp;gt; __DIR__,&lt;br /&gt;
        'remoteExtPath' =&amp;gt; 'MyExtension'&lt;br /&gt;
        ); &lt;br /&gt;
&lt;br /&gt;
The files should be organized in folders like this (mimicking the original structure from Tweeki):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MyExtension&amp;gt;&lt;br /&gt;
    – bootstrap&lt;br /&gt;
      – css&lt;br /&gt;
         – bootstrap.min.css&lt;br /&gt;
         – bootstrap-theme.min.css&lt;br /&gt;
       – js&lt;br /&gt;
         – bootstrap.min.js&lt;br /&gt;
&lt;br /&gt;
== Show hidden stuff ==&lt;br /&gt;
&lt;br /&gt;
In order to increase usability Tweeki hides some of MediaWiki's features by default. Some things are really just hidden via CSS. E.g. if you want to see the category links at the bottom of the page, just add &amp;lt;code&amp;gt;#catlinks {display:block;}&amp;lt;/code&amp;gt; to your custom CSS.&lt;br /&gt;
&lt;br /&gt;
== Layout ==&lt;br /&gt;
&lt;br /&gt;
=== Widths ===&lt;br /&gt;
&lt;br /&gt;
If you want to use the full screen width, set the [[MediaWiki:Tweeki-container-class]] message to &amp;lt;code&amp;gt;container-fluid&amp;lt;/code&amp;gt; (see [[Messages#Appearance|Messages/Appearance]]).&lt;br /&gt;
&lt;br /&gt;
If you want to change the widths for the sidebars and the main content, see [[Configuration_Options#Grids|Configuration Options/Grids]]. If you want to have no offset for a page without sidebars, use the following lines in your &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 $wgTweekiSkinGridNone = array( &lt;br /&gt;
   &amp;quot;mainoffset&amp;quot; =&amp;gt; 0, &lt;br /&gt;
   &amp;quot;mainwidth&amp;quot; =&amp;gt; 12 &lt;br /&gt;
 );&lt;br /&gt;
&lt;br /&gt;
== Visual Editor ==&lt;br /&gt;
&lt;br /&gt;
In principle, it should be possible to use Tweeki with [https://www.mediawiki.org/wiki/Extension:VisualEditor VisualEditor]. However, as VisualEditor is still in development and therefore a moving target, things can break very easily. I had it working with MW 1.26 and haven't been testing since. Just try it out, any patches are warmly welcome. As a starting point, you'll need this line in &amp;lt;code&amp;gt;LocalSettings.php&amp;lt;/code&amp;gt; to make it work:&lt;br /&gt;
&lt;br /&gt;
 $wgVisualEditorSupportedSkins[] = 'tweeki';&lt;br /&gt;
&lt;br /&gt;
== Logo ==&lt;br /&gt;
&lt;br /&gt;
If you want to use an image instead of a text link for the “brand” section in the navigation, you can change the content of [[MediaWiki:Tweeki-navbar-brand]] to the name of an uploaded file (including the namespace), e.g. &amp;lt;code&amp;gt;File:MyLogo.png&amp;lt;/code&amp;gt; (see also the [[Messages#Navbar|navbar section]] in the documentation for messages). By default the image will be shown with a height of 40px, use the &amp;lt;code&amp;gt;.navbar-brand img&amp;lt;/code&amp;gt; selector to define your custom stylings.&lt;br /&gt;
&lt;br /&gt;
== Standard Table Of Contents ==&lt;br /&gt;
&lt;br /&gt;
If you want to have the usual table of contents at the top of the page, don't use the &amp;lt;code&amp;gt;TOC&amp;lt;/code&amp;gt; navigational element in any of the navigational sections. Especially, you'll have to remove it from &amp;lt;code&amp;gt;Mediawiki:Tweeki-sidebar-right&amp;lt;/code&amp;gt; as it belongs to this section's default content. On top of that you'll have to make it visible by adding the following line to your custom styles:&lt;br /&gt;
&lt;br /&gt;
 #toc {&lt;br /&gt;
   display:block;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Please be aware that you'll have to add your own stylings in order to make it look nice.&lt;/div&gt;</summary>
		<author><name>Bmulckhu</name></author>
	</entry>
</feed>