Main Page Help Center Templates and complex editing

Help:Templates and complex editing View history

imported>Wottem
No edit summary
imported>Wottem
No edit summary
Line 1: Line 1:
{{HelpPage
{{HelpPage
|linklist=Template:Help complex editing
|page content=MediaWiki supports using templates and HTML coding for more complex content and design solutions
|page content=MediaWiki supports using templates and HTML coding for more complex content and design solutions
|zippers={{Togglesection
|zippers={{Togglesection
|title=Understanding templates
|title=Understanding templates
|content=MediaWiki templates are actually wiki pages that are included in other pages, while enabling the change of specific parameters.
Templates are mostly used in the Template name space (i.e. the page name will be <code>Template:Template_name</code>)  and included by clicking '''Insert > Template''' in the editor or by typing in the source editor:
<pre><nowiki>{{template name|parameter name=paremeter information}}</nowiki></pre>This will include the template <code>Template_name</code> in the page edited.
=== How to build templates? ===
For understanding better wiki templating visit MediaWiki documentation:
* [[Mediawikiwiki:Help:Templates|Templates]] - how to build and use templates
* [[Mediawikiwiki:Help:TemplatesData|Template data]] - assisting users to add the right information to templates
}}{{Togglesection
}}{{Togglesection
|title=HTML coding
|title=HTML coding
|content=You can add certain HTML tags to your pages or templates. These are some of the allowed tags:
|content=You can add certain HTML tags to your pages or templates. These are some of the allowed tags:


* Text formatting tags: 'b', 'i', 'u', 'big', 'small', 'h1-6', 'cite', 'code', 's', 'strike', 'strong',  'center'.
*Text formatting tags: 'b', 'i', 'u', 'big', 'small', 'h1-6', 'cite', 'code', 's', 'strike', 'strong',  'center'.
* Layout tags: 'div', 'blockquote', 'ol', 'ul', 'table', 'p', 'span'.
*Layout tags: 'div', 'blockquote', 'ol', 'ul', 'table', 'p', 'span'.


Full list of permitted tags can be found [[metawikimedia:Help:HTML_in_wikitext|here]].  
Full list of permitted tags can be found [[metawikimedia:Help:HTML_in_wikitext|here]].  

Revision as of 00:52, 15 October 2020


MediaWiki supports using templates and HTML coding for more complex content and design solutions

Understanding templates


HTML coding


Designing

Related articles