Sjabloon:Gamepost: verschil tussen versies

Uit Wiki Grepolis NL
Naar navigatie springen
Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
 
Regel 5: Regel 5:
|{{#switch:{{{long|full}}}|full= width=95%|half= width=400px|}}|<div style="border:3px double {{#switch:{{{type|2}}}|1=#505050; background:#D0D0D0; color:#505050; margin-left:1px; padding:9px 12px 9px 12px; font-size:100%; font-family: Arial Black;|2=#030D17; background:#EEDDBB; color:#030D17; margin-left:2px; padding:9px 12px 9px 12px; font-family: Calisto MT;|3=#EEDDBB; background:#030D17; color:#EEDDBB; margin-top:-1px; padding:10px 12px 10px 12px; font-family: Calisto MT;|}} border-radius:5px;">{{{1}}}{{#ifeq:{{{auth|no}}}|no||<br/><p align="right" style="font-size:10px;">{{{auth}}}</p>}}</div>
|{{#switch:{{{long|full}}}|full= width=95%|half= width=400px|}}|<div style="border:3px double {{#switch:{{{type|2}}}|1=#505050; background:#D0D0D0; color:#505050; margin-left:1px; padding:9px 12px 9px 12px; font-size:100%; font-family: Arial Black;|2=#030D17; background:#EEDDBB; color:#030D17; margin-left:2px; padding:9px 12px 9px 12px; font-family: Calisto MT;|3=#EEDDBB; background:#030D17; color:#EEDDBB; margin-top:-1px; padding:10px 12px 10px 12px; font-family: Calisto MT;|}} border-radius:5px;">{{{1}}}{{#ifeq:{{{auth|no}}}|no||<br/><p align="right" style="font-size:10px;">{{{auth}}}</p>}}</div>
|}<br style="margin-top:-10px"/><noinclude>{{doc}}</noinclude>
|}<br style="margin-top:-10px"/><noinclude>{{doc}}</noinclude>
<nowiki> {{Gamepost | Your text | x}} </ nowiki >''',< br /> instead of x must be set the parameters by separating the parameters with the character'' '<nowiki> | </ nowiki >'''.< br /> <br />
The parameters are:
*'''Auth''' -''the author's signature message. It is desirable to set the standard in this field signature <nowiki> ~~~~</ nowiki>.''
*'''Type''' -''kind of messages: 1 - gray tones, large print, 2 - a light background, black letters, 3 - style of game messages.''
*'''Long''' -''make for fast set width: full - the whole screen width, half - half on the screen.''
*'''Picture''' -''the type of image on the left. Ratio image with the values ​​described below.''
{|
| [[File: OtMail.png]]
|'''Mail'''
| [[File: OtAttack.png]]
|'''Attack'''
| [[File: OtReinf.png]]
|'''Reinf'''
| -
| [[File: OtBuild.png]]
|'''Build'''
| [[File: OtList.png]]
|'''List'''
| [[File: OtForum.png]]
|'''Forum'''
| -
| [[File: OtTime.png]]
|'''Time'''
| [[File: OtMedal.png]]
|'''Medal'''
| [[File: OtMan.png]]
|'''Man'''
| -
| [[File: OtTrade.png]]
|'''Trade'''
| [[File: OtQ.png]]
|'''Q'''
| [[File: OtW.png]]
|'''W'''
|}
Example: <br /> <nowiki> {{Gamepost | Example of gray messages | auth = signature place | type = 1 | picture = Mail}} </ nowiki> <br /> <nowiki> {{Gamepost | Example of a bright wide messages | long = full | type = 2 | picture = Attack}} </ nowiki> <br /> <nowiki> {{Gamepost | Example of a message similar to the game | long = half | auth =~~~~| type = 3 | picture = List}} </ nowiki>
{{Gamepost | Example of gray messages | auth = signature place | type = 1 | picture = Mail}}
{{Gamepost | Example of a bright wide message | long = full | type = 2 | picture = Attack}}
{{Gamepost | Example of a message similar to the game | long = half | auth = easy to use as a signature here "<nowiki> ~~~~</ nowiki>" | type = 3 | picture = List}}

Huidige versie van 17 aug 2011 om 08:32


OtMail.png
{{{1}}}


(i) Документация

Om te voorkomen dat je telkens hetzelfde sjabloon moet invoeren, kan je {{Gamepost|Uw tekst|x}},
X moet de parameters bevatten die hieronder beschreven staan:|.

Parameters:

  • auteur — De handtekening van de boodschap van de auteur. Je kan dit doen als volgt: ~~~~.
  • type — type bericht: 1 — grijstinten met grote letters, 2 — een lichte achtergrond en zwarte letters, 3 — een donkere achtergrond met witte letters; dit lijkt op de berichten in het spel..
  • breedte — de breedte van het bericht.: full - de hele breedte van het scherm, half - de helft van het scherm.
  • foto — de afbeelding aan de linkerkant. Hieronder staan de verschillende t
OtMail.png Mail OtAttack.png Attack OtReinf.png Reinf
OtBuild.png Build OtList.png List OtForum.png Forum
OtTime.png Time OtMedal.png Medal OtMan.png Man
OtTrade.png Trade OtQ.png Q OtW.png W


Пример:
{{Gamepost|Voorbeeld van een grijs bericht|auth=handtekening| type=1| picture=Mail}}
{{Gamepost|Voorbeeld van een helder, breed bericht.| long=full|type=2| picture=Attack}}
{{Gamepost|Voorbeeld van een melding die op een ingame-melding lijkt.| long=half| auth=| type=3| picture=List}}

OtMail.png
Voorbeeld van een grijs bericht

handtekening


OtAttack.png
Voorbeeld van een helder, breed bericht.

OtList.png
Voorbeeld van een melding die op een ingame-melding lijkt.


Om schade aan "doc"-pagina's te voorkomen, is het aangeraden hier niet mee te experimenteren.