Template:Help page: Difference between revisions

From EarthMC
Jump to navigation Jump to search
>Nicosecci
No edit summary
>Nicosecci
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{|style="background:#ffb18a; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #ba480f; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
{|style="background:#efffa8; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #8a8700; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
|-
|-
|align="center" | [[File:Help.png|30px]]    <small><font color="#006921">{{ #if: {{{1}}}=gen | This is a generical '''help''' page.  
|align="center" | [[File:Help.png|30px]]    <small><font color="#006921">{{ #ifeq: {{{1}}} | generical | This is a generical '''help''' page. | This is a help page '''{{{1}}}'''. }}
| This is a help page '''{{{1}}}'''.}}
</font></small>
</font></small>
|}
|}</includeonly>
</includeonly>
 
<noinclude>
 
STILL TESTING
<noinclude>This template shall be put on top of help pages containing guides or instructions about the wiki.
This template shall be put on top of help pages containing guides or instructions about the wiki. It can be used in 2 ways:
 
== Usage ==
The template can be used in 2 ways:
 
=== 1.'''Generical help page''' ===
=== 1.'''Generical help page''' ===
<code><nowiki>{{Help_page}}</nowiki></code>
<nowiki>{{Help_page|generical}}</nowiki>


gives:
gives:
{|style="background:#efffa8; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #8a8700; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
{|style="background:#ffb18a; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #ba480f; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
|-
|-
|align="center" | [[File:Help.png|30px]]    <small><font color="#006921">This is a generical '''help''' page.
|align="center" | [[File:Help.png|30px]]    <small><font color="#006921">This is a generical '''help''' page.
Line 20: Line 21:
|}
|}
=== 2.'''Specific help page''' ===
=== 2.'''Specific help page''' ===
<code><nowiki>{{Help_page|about living in a society}}</nowiki></code>
<nowiki>{{Help_page|about your text here}}</nowiki>


gives:
gives:
{|style="background:#efffa8; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #8a8700; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
{|style="background:#ffb18a; color:##87E7FA; margin:0 auto 1em auto; padding:0 2px; border:1px solid #ba480f; -moz-border-radius:10px; border-radius:10px; text-align:center; width:100%;"
|-
|-
|align="center" | [[File:Help.png|30px]]    <small><font color="#006921">This is a help page '''about living in a society'''.
|align="center" | [[File:Help.png|30px]]    <small><font color="#006921">This is a help page '''about your text here'''.
</font></small>
</font></small>
|}
|}
</noinclude>
</noinclude>

Latest revision as of 02:17, 11 April 2020


This template shall be put on top of help pages containing guides or instructions about the wiki.

Usage

The template can be used in 2 ways:

1.Generical help page

{{Help_page|generical}}

gives:

Help.png This is a generical help page.

2.Specific help page

{{Help_page|about your text here}}

gives:

Help.png This is a help page about your text here.