Difference between revisions of "Wikitricks"

From Habitat: Giardino
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Pimp my Wiki =
= Pimp my Wiki =
Link utili:
# https://meta.wikimedia.org/wiki/Help:Wikitext_examples
# https://www.mediawiki.org/wiki/Help:Formatting


== [[Template:Quote]] ==
== [[Template:Quote]] ==
Line 20: Line 23:
= Testo =
= Testo =


<div style="text-align:center;">Centered text</div> <div style="text-align:right;">Right text</div> <div style="text-align:left;">Left text</div>
<pre><div style="text-align:center;">Centered text</div>
</pre>


<div style="text-align:center;">Centered text</div>


==Tabella - 2 Colonne==
<pre> {|
|Lorem ipsum dolor sit amet,
consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt
ut labore et dolore magna aliquyam erat,
sed diam voluptua.


==Tabella - 2 Colonne==
At vero eos et accusam et justo duo dolores
et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum
dolor sit amet.
|
* Lorem ipsum dolor sit amet
* consetetur sadipscing elitr
* sed diam nonumy eirmod tempor invidunt
|}
 
</pre>


{|
{|
Line 42: Line 65:
* sed diam nonumy eirmod tempor invidunt
* sed diam nonumy eirmod tempor invidunt
|}
|}
= Highlight =
This is how to {{Font color|#FEFEBE|highlight part of a sentence}}.
= Note to editors =
<pre> <!-- Note to editors: blah blah blah. --> </pre>
<!-- Note to editors: blah blah blah. -->

Latest revision as of 12:04, 20 January 2022

Pimp my Wiki

Link utili:

  1. https://meta.wikimedia.org/wiki/Help:Wikitext_examples
  2. https://www.mediawiki.org/wiki/Help:Formatting

Template:Quote

In this page I added the style to render the quotes.

  <blockquote style="
color: green; 
border: dotted 2px green;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;">
    {{{1}}}
</blockquote> 

that turns into:

The text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quoteThe text you want to quote

Testo

<div style="text-align:center;">Centered text</div>
Centered text

Tabella - 2 Colonne

 {|
|Lorem ipsum dolor sit amet, 
consetetur sadipscing elitr, 
sed diam nonumy eirmod tempor invidunt
ut labore et dolore magna aliquyam erat, 
sed diam voluptua. 

At vero eos et accusam et justo duo dolores
et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum
dolor sit amet. 
|
* Lorem ipsum dolor sit amet
* consetetur sadipscing elitr
* sed diam nonumy eirmod tempor invidunt
|}

Lorem ipsum dolor sit amet,

consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.

At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

  • Lorem ipsum dolor sit amet
  • consetetur sadipscing elitr
  • sed diam nonumy eirmod tempor invidunt

Highlight

This is how to Template:Font color.

Note to editors

 <!-- Note to editors: blah blah blah. -->