Difference between revisions of "Template:About"
(Tag: 方括号不配对) |
|||
Line 1: | Line 1: | ||
<includeonly><div class="notice dablink" style="font-size: small; margin: 1em 0em; padding: 0.2em 0em;"><table style="width: 100%; margin-left: -0.2em;"><tr style="vertical-align: top; text-align: left;"><th style="width:28px; position: relative; top: {{#if: {{{offset|}}}|{{{offset|}}}|-2}}px;">[[File:Disambig_gray.svg|25px|link=Moegirlpedia:Disambiguation policy]]</th><th style="font-weight: inherit;"><!-- | <includeonly><div class="notice dablink" style="font-size: small; margin: 1em 0em; padding: 0.2em 0em;"><table style="width: 100%; margin-left: -0.2em;"><tr style="vertical-align: top; text-align: left;"><th style="width:28px; position: relative; top: {{#if: {{{offset|}}}|{{{offset|}}}|-2}}px;">[[File:Disambig_gray.svg|25px|link=Moegirlpedia:Disambiguation policy]]</th><th style="font-weight: inherit;"><!-- | ||
− | -->{{#if:{{{post | + | -->{{#if:{{{post|}}}||{{#if: {{{pre|}}}|{{{pre|}}}<br />}}}}<!-- |
-->{{#if:{{{1|{{{description}}}}}}|<!-- | -->{{#if:{{{1|{{{description}}}}}}|<!-- | ||
-->This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACENUMBER}}|0=article|14=category|page}}}} is about {{{1|{{{description| | -->This {{#if:{{{section|}}}|section|{{#switch:{{NAMESPACENUMBER}}|0=article|14=category|page}}}} is about {{{1|{{{description| | ||
}}}}}}. }}<!-- | }}}}}}. }}<!-- | ||
− | -->For {{#if:{{{2|{{{otheruse|}}}}}}|{{{2|{{{otheruse|}}}}}}|{{#if:{{{disambiguation|}}} | + | --> For {{#if:{{{2|{{{otheruse|}}}}}}|{{{2|{{{otheruse|}}}}}}|{{#if:{{{disambiguation|}}}{{{disambiguation|}}}|other uses of {{{3}}}}}}}, see {{#if:{{{3|{{{othertitle|{{{disambiguation|}}}}}}}}}|"'''[[{{{3|{{{othertitle|{{{disambiguation|}}}}}}}}}]]'''" {{#ifeq:{{{4|}}}|and|and {{#if:{{{5|}}}|"'''[[{{{5}}}]]'''"|{{Error|Error: Unspecified link 2 for other use 1}}}}}}|{{Error|Error: Unspecified links for other use 1}}}}. <!-- |
− | -->{{#if:{{{2|}}}| | + | -->{{#if:{{{2|}}}|{{#if:{{{4|}}}|<!-- |
-->{{#ifeq:{{{4|}}}|and||<!-- | -->{{#ifeq:{{{4|}}}|and||<!-- | ||
− | -->For {{#ifeq:{{{4}}}|1|other uses of {{{5}}}|{{{4}}}}}, see {{#if:{{{5|}}}|"'''[[{{{5}}}]]'''" {{#ifeq:{{{6|}}}|and|{{#if:{{{7|}}}|"'''[[{{{7}}}]]'''" |{{Error|Error: Unspecified | + | --> For {{#ifeq:{{{4}}}|1|other uses of {{{5}}}|{{{4}}}}}, see {{#if:{{{5|}}}|"'''[[{{{5}}}]]'''" {{#ifeq:{{{6|}}}|and|and {{#if:{{{7|}}}|"'''[[{{{7}}}]]'''" |{{Error|Error: Unspecified link 2 for other use 2}}}}}}|{{Error|Error: Unspecified links for other use 2}}}}.}}<!-- |
-->{{#if:{{{6|}}}|<!-- | -->{{#if:{{{6|}}}|<!-- | ||
− | -->{{#ifeq:{{{6|}}}|and||<!-- | + | -->{{#ifeq:{{{6|}}}|and||<!--"and" is a special character here |
− | -->For {{#ifeq:{{{6}}}|1|other uses of {{{7}}}|{{{6}}}}}, see {{#if:{{{7|}}}|"'''[[{{{7}}}]]'''"|{{#ifeq:{{{8|}}}|and| | + | --> For {{#ifeq:{{{6}}}|1|other uses of {{{7}}}|{{{6}}}}}, see {{#if:{{{7|}}}|"'''[[{{{7}}}]]'''"|{{#ifeq:{{{8|}}}|and|and {{#if:{{{9|}}}|"'''[[{{{9}}}]]'''" |{{Error|Error: Unspecified link 2 for other use 3}}}}}}|{{Error|Error: Unspecified links for other use 3}}}}.}} <!-- |
-->}}><!-- | -->}}><!-- | ||
-->}}<!-- | -->}}<!-- | ||
− | --> | + | -->}}<!-- |
− | -->{{#if: {{{post| | + | -->{{#if: {{{post|}}}|<br />{{{post|}}}}}<!-- |
--></th></tr></table></div></includeonly><noinclude> | --></th></tr></table></div></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 17:21, 30 June 2023
Contents
Usage
Simple invoking method
{{About|the usage of this page|other use 1|other use 1}}
(Common situation, only 2 usages) →
This page is about the usage of this page. For other use 1, see "other use 1". |
---|
{{About|the usage of this page||disambiguation page}}
(Leaving parameter 2 empty to complete the description automatically) →
This page is about the usage of this page. For , see "disambiguation page". |
---|
{{About|the usage of this page|Other use 1|Other article 1|and|other article 2}}
(Using "and") →
This page is about the usage of this page. For other use 1, see "other article 1" and "other article 2". > |
---|
{{About|the usage of this page|other use 1|other article 1#subsection{{!}}other article 1 title}}
(Using {{!}} instead of the vertical line to display different characters) →
This page is about the usage of this page. For other use 1, see "Other article 1 title". |
---|
{{About|the usage of this page|other use 1|other article 1|other usage 2|other article 2|and|other article 3}}
(Feel free to combine them; for other longer expressions, {{Otheruseslist}} is recommended) →
This page is about the usage of this page. For other use 1, see "other article 1". For other use 2, see "other article 2" and "other article 3".> |
---|
{{About||other use 1|other article 1}}
(This can be used without specifying pages, leaving parameter 1 empty) →
For other use 1, see "other article 1". |
---|
Compatible with old-style disambiguation box usage
{{About|the character from ''Aria the Scarlet Ammo''|other uses|Aria}}
(If used under a section, please add the "section" parameter at the end)
This page is about the character from Aria the Scarlet Ammo. For other uses, see "Aria". |
---|
Other descriptions
{{About|main use|other use 1|other article 1|section=yes}}
This section is about main use. For other use 1, see "other article 1". |
---|
{{About|main use|other use 1|main article 1|pre=Add a message at the top.}}
Add a message at the top. This page is about main use. For other use 1, see "main article 1". |
---|
{{about|main use|other use 1|other article 1|post=Add a message at the bottom.}}
This page is about main use. For other use 1, see "other article 1". Add a message at the bottom. |
---|
{{About|main use|other use 1|other article 1|pre=Message at the top.|post=Message at the bottom.}}
This page is about main use. For other use 1, see "other article 1". Message at the bottom. |
---|
{{About|the video website|other "Biribiri"|Mikoto Misaka|'''offset=6'''}}
This page is about the video website. For other "Biribiri", see "Mikoto Misaka". |
---|
Error examples
{{about|main use|other use 1|other article 1| |other article 2}}
(Some parameters are left empty, resulting in the latter parameter being ignored) →
This page is about main use. For other use 1, see "other article 1". |
---|
{{about|main use|other use 1}}
(Direct error caused by missing parameter) →