Template:Software documentation index

Материал из Valve Developer Community
Перейти к навигации Перейти к поиску
Under construction.png
Эта Template страница претерпевает крупные изменения.
В порядке вежливости не редактируйте страницу Template, пока это сообщение не будет убрано. Если страница не редактировалась уже несколько часов или дней, удалите этот шаблон.
Данное сообщение позволяет предотвратить конфликт редактирований; удаляйте сообщение между сеансами редактирования, чтобы передать очередь редактирования другим участникам.

Участник, добавивший сообщение, есть в истории изменений, и вы можете связаться с ним.

Todo: Please check this template for quality. It was made rather quickly and is currently being tested rather than ready for use.
Todo: Remove spaces from parameters.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngДокументация шаблона [посмотреть] [править] [создать Русский (ru)]
Icon-translate.png Available doc translations
Info.png
Страница документации Template:Software documentation index/doc/ru не существует.
Вместо неё будет отображена документация на английском. Если после данного сообщения ничего нет, вероятней всего документации не существует даже на английском.

Table for use in software documentation indexes, such as Source SDK Index.

Components

This template uses components to simplify working with repetitive code. Below is a list of all components included in the template.

Parameters

Parameter Description Example and Preview
{{{width}}} Table width. See #Example and Preview.
{{{topindent}}} Top indent for the entire table.
{{{border color}}} Table border color.
{{{header gradient colors}}} The colors of the gradient for the background of the header.
{{{header text color}}} Text color of headers.
{{{button bgcolor}}} The color of the background behind the link button.
{{{button text color}}} The color of the link button text.
{{{row color 1}}} Color of the first row of the table.
Default value is #252525.
{{{row color 2}}} Color of the second row of the table.
Default value is #202020.
{{{comment}}} Comment above the software banner.
Note.pngПримечание:Created mainly for the to-do list, so that it doesn't look too bad next to the table.
{{{comment style}}} Custom Comment CSS.
Warning.pngWarning:Overwrites the original style!
{{{banner}}} Software banner.
{{{banner width}}} Banner width.
{{{desc}}} Software description.
{{{desc width}}} Software description width. Used when you need to make the text look nicer.
{{{link <1-6>}}} Link above the table. Maximum 6.
{{{toc}}} Table of Contents. Useful if the content is divided into headers.
{{{button <1-48>}}} The displayed name of the specified button.
{{{button <1-48> link}}} Link to the page for the specified button.
{{{button <1-48> desc}}} Description of the page linked to by the specified button.
{{{button <1-48> header}}} Adds a heading above the specified button. This is useful if the software page prefers an option without redirects to guide pages, such as the page about level design in Source.
{{{button <1-48> redlink}}} If the page does not exist, use this parameter to remove the custom link color.
Icon-Important.pngВажно:The custom color should not replace red links, so as not to confuse the user.

Example and Preview

{{Software documentation index
| width = 750px

| border color		= #F2A52B4a
| button bgcolor	= #2F2A26
| button text color	= #E3C798
| header gradient colors = #594027,#312717

| comment = Gordon Freeman was here.

| banner = Placeholder for SDI banner.jpg
| banner width = 566px

| desc = '''Sweet Tools''' is free software distributed through {{steamicon|1}} for creating cool games without any programming knowledge.
| desc width = 550px

| link 1 = '''[[#Example and Preview|Download and Installation]]'''
| link 2 = '''[[#Example and Preview|Release Notes]]'''

| button 1		= Introduction
| button 1 link 	= #Example and Preview
| button 1 desc 	= Introduction to using this amazing toolkit.

| button 2		= Level Design
| button 2 link	 	= #Something about mapping
| button 2 desc	 	= Create [[Map (level design)|levels]] with an incredibly cute map editor.
| button 2 header	= Something about mapping

| button 3		= Materials
| button 3 link	 	= #Something about mapping
| button 3 desc	 	= Learn how to add a character's face to a texture that will only be seen many years later.
}}
Gordon Freeman was here.

See also