Minecraft Wiki
м (Thenix18 перейменував сторінку з Шаблон:Profile/док на Шаблон:Профіль/док)
Немає опису редагування
Рядок 1: Рядок 1:
 
{{Заголовок документації}}
 
{{Заголовок документації}}
{{lua|infobox}}
+
{{lua|Картка}}
 
{{Profile}}
 
{{Profile}}
   

Версія за 21:25, 29 травня 2018

Ця сторінка документації, вона повинна бути включена в основну сторінку. Більше інформації на сторінці Шаблон:Документація.
Lua logo
Цей шаблон використовує Модуль:Картка, написаний на мові програмування Lua.
Будь ласка, перегляньте wikipedia:Wikipedia:Lua і mw:Extension:Scribunto (обидві англ.) для розуміння роботи модуля.

Шаблон:Profile

This template profides a infobox for user pages.

{{Profile
| title=
| image=
| name=
| date_of_birth=
| age=
| gender=
| location=
| website=
| twitter=
| joined_minecraft=
| minecraft=
| join=
| custom_field_name=
| custom_field_value=
}}
Parameter Function Default value
title Only needed to change the title from the page name {{BASEPAGENAME}}
image Profile image, avatar or rendered player skin No image.svg
imagesize Set a custom size for the image 250px
name Nickname, Minecraft username, or real name {{ROOTPAGENAME}}
date_of_birth Date of birth. Use {{Birth date and age}}. If this is used, it replaces the age parameter. Optional
age Age of the user Optional
gender Gender of the user. If this is used, it replaces the user's setting in Special:Preferences. If set to none, no gender row will be displayed. Depends on preferences
location Location of the user with link to Google Maps Optional
website URL of a desired website link Optional
twitter Handle on Twitter Optional
joined_minecraft The current Minecraft version at the time the user started playing Minecraft Optional
minecraft Username in Minecraft Optional
join Date when the user joined this wiki Optional
custom_field_name Name of an additional custom field Optional
custom_field_value Value of an additional custom field Optional

See also

Шаблон:Infobox see also