Difference between revisions of "Wikitricks"

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


https://html-css-js.com/css/generator/border-outline/
== [[Template:Quote]] ==
In this page I added the style to render the quotes.
 
<pre>  <blockquote style="
color: green;
border: dotted 2px green;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;">
    {{{1}}}
</blockquote> </pre>
 
that turns into:


{{ quote | 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 }}
{{ quote | 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 =
= Testo =
<pre><div style="text-align:center;">Centered text</div>
</pre>
<div style="text-align:center;">Centered text</div>


==Tabella - 2 Colonne==
==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.
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 25: 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 13: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. -->