Module:Message box/configuration/doc/cs
More actions
{{#ifeq:cs|doc||{{#ifeq:cs |doc
|
{{#ifeq:show |show
|
File:Edit-copy green.svg | Template:Strong for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Module |User |module template page |{{#if:Module |module page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Module:Message box/configuration/doc | [[Category:{{#switch:Module |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}}}{{#switch:
| =
Template:Used in system Template:Module rating Tento modul obsahuje konfigurační data na Module:Message box.
Možnosti konfigurace
Template:(! class="wikitable plainrowheaders"
! scope="col" | Volba
! scope="col" | Vysvětlení
|-
! scope="row" style="text-align:left;font-weight:normal" | types
| Tabulka obsahující data používaná parametrem typu message box. Klíče tabulky jsou hodnoty, které lze předat parametru typu, a hodnoty tabulky jsou tabulky obsahující třídu a obrázek používaný daným typem.
|-
! scope="row" style="text-align:left;font-weight:normal" | default
| Typ, který se má použít, pokud parametru typu nebyla předána žádná hodnota nebo byla zadána neplatná hodnota.
|-
! scope="row" style="text-align:left;font-weight:normal" | showInvalidTypeError
| Zda se má zobrazit chyba, pokud je hodnota předaná do parametru typu neplatná.
|-
! scope="row" style="text-align:left;font-weight:normal" | allowBlankParams
| Obvykle jsou prázdné hodnoty odstraněny z parametrů předávaných modulu. U parametrů obsažených v tabulce allowBlankParams
je však zachováno prázdné místo.
|-
! scope="row" style="text-align:left;font-weight:normal" | allowSmall
| Zda lze malou verzi schránky se zprávou vytvořit na Template:Para.
|-
! scope="row" style="text-align:left;font-weight:normal" | smallParam
| Vlastní hodnota parametru Template:Para. Pokud je například nastaveno na Template:Inline-code, můžete vytvořit malou schránku se zprávou pomocí Template:Para.
|-
! scope="row" style="text-align:left;font-weight:normal" | smallClass
| Třída, která se má použít pro malé schránky zpráv.
|-
! scope="row" style="text-align:left;font-weight:normal" | substCheck
| Zda provést subst kontrolu nebo ne.
|-
! scope="row" style="text-align:left;font-weight:normal" | classes
| Pole tříd, které se mají použít se zprávou.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageEmptyCell
| Zda použít prázdnou buňku Template:Tag, pokud neexistuje žádná sada obrázků. To se používá k zachování mezer pro pole zpráv s šířkou menší než 100% obrazovky.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageEmptyCellStyle
| Zda mají být stylovány prázdné buňky obrázku.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageCheckBlank
| Zda Template:Para způsobí, že se nezobrazí žádný obrázek.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageSmallSize
| Obrázky používané v malých schránkách jsou obvykle nastaveny na 30x30px. Tím se nastaví vlastní velikost.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageCellDiv
| Určuje, zda má být obrázek uzavřen do Template:Tag s vynucením maximální velikosti obrázku.
|-
! scope="row" style="text-align:left;font-weight:normal" | useCollapsibleTextFields
| Zda použít textová pole, která lze sbalit, tj. Template:Inline-code, Template:Inline-code, Template:Inline-code atd. V současné době se používá pouze na {{ambox}}
.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageRightNone
| Zda Template:Para způsobí, že se na pravé straně okna zprávy nezobrazí žádný obrázek.
|-
! scope="row" style="text-align:left;font-weight:normal" | sectionDefault
| Výchozí název pro parametr Template:Para. Závisí na useCollapsibleTextFields
.
|-
! scope="row" style="text-align:left;font-weight:normal" | allowMainspaceCategories
| Povolit kategorizaci v hlavním jmenném prostoru.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateCategory
| Název kategorie, která má být umístěna na stránku šablony.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateCategoryRequireName
| Zda je pro zobrazení kategorie šablony vyžadován parametr Template:Para.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateErrorCategory
| Název kategorie chyb, která se má použít na stránce šablony.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateErrorParamsToCheck
| Pole názvů parametrů ke kontrole. Pokud žádné chybí, na stránku šablony se použije templateErrorCategory
.
Template:!)
| #default=
{{#switch:
| = Template:Languages Template:Used in system Template:Module rating This module contains configuration data for Module:Message box.
Configuration options
Template:(! class="wikitable plainrowheaders"
! scope="col" | Option
! scope="col" | Explanation
|-
! scope="row" style="text-align:left;font-weight:normal" | types
| A table containing data used by the type parameter of the message box. The table keys are the values that can be passed to the type parameter, and the table values are tables containing the class and the image used by that type.
|-
! scope="row" style="text-align:left;font-weight:normal" | default
| The type to use if no value was passed to the type parameter, or if an invalid value was specified.
|-
! scope="row" style="text-align:left;font-weight:normal" | showInvalidTypeError
| Whether to show an error if the value passed to the type parameter was invalid.
|-
! scope="row" style="text-align:left;font-weight:normal" | allowBlankParams
| Usually blank values are stripped from parameters passed to the module. However, whitespace is preserved for the parameters included in the allowBlankParams
table.
|-
! scope="row" style="text-align:left;font-weight:normal" | allowSmall
| Whether a small version of the message box can be produced with Template:Para.
|-
! scope="row" style="text-align:left;font-weight:normal" | smallParam
| A custom value for the Template:Para parameter. For example, if set to Template:Inline-code you can produce a small message box using Template:Para.
|-
! scope="row" style="text-align:left;font-weight:normal" | smallClass
| The class to use for small message boxes.
|-
! scope="row" style="text-align:left;font-weight:normal" | substCheck
| Whether to perform a subst check or not.
|-
! scope="row" style="text-align:left;font-weight:normal" | classes
| An array of classes to use with the message box.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageEmptyCell
| Whether to use an empty Template:Tag cell if there is no image set. This is used to preserve spacing for message boxes with a width of less than 100% of the screen.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageEmptyCellStyle
| Whether empty image cells should be styled.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageCheckBlank
| Whether Template:Para results in no image being displayed.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageSmallSize
| Usually, images used in small message boxes are set to 30x30px. This sets a custom size.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageCellDiv
| Whether to enclose the image in a Template:Tag enforcing a maximum image size.
|-
! scope="row" style="text-align:left;font-weight:normal" | useCollapsibleTextFields
| Whether to use text fields that can be collapsed, i.e. Template:Inline-code, Template:Inline-code, Template:Inline-code, etc. Currently only used in {{ambox}}
.
|-
! scope="row" style="text-align:left;font-weight:normal" | imageRightNone
| Whether Template:Para results in no image being displayed on the right-hand side of the message box.
|-
! scope="row" style="text-align:left;font-weight:normal" | sectionDefault
| The default name for the Template:Para parameter. Depends on useCollapsibleTextFields
.
|-
! scope="row" style="text-align:left;font-weight:normal" | allowMainspaceCategories
| Allow categorisation in the main namespace.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateCategory
| The name of a category to be placed on the template page.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateCategoryRequireName
| Whether the Template:Para parameter is required to display the template category.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateErrorCategory
| The name of the error category to be used on the template page.
|-
! scope="row" style="text-align:left;font-weight:normal" | templateErrorParamsToCheck
| An array of parameter names to check. If any are absent, the templateErrorCategory
is applied to the template page.
Template:!)
{{safesubst:#if:{{safesubst:#ifeq:cs|sandbox|1}}{{safesubst:#ifeq:cs|doc|1}}||
}}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}