Difference between revisions of "Template:CACL/doc"

From Moegirlpedia
Jump to: navigation, search
m
(Translated text)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>
+
"CACL" means "Commons Artist Category Link".
'''This template is translated form ZH-Moegirlpedia'''
 
  
"CACL" Mean is: Commons Artist Category Link, you can use this edit faster.
+
This template can be used in articles about artists to generate a link to the category of the artist's work in Moegirl Commons.
  
== How to use ==
+
== Parameters ==
<nowiki>{{CACL|(Artist)}}</nowiki>
+
This template includes a total of two untitled parameters:
  
e.g.
+
* Untitled parameter 1: The Author category to which the artist's article corresponds, the default value is the page name. If the article name does not match the category name, fill it in manually to specify the category.
 +
* Untitled parameter 2: The content displayed by the link to the Author category, the default value is the page name. If only parameter 1 is filled in, the value is the content of parameter 1. If the category name does not match the displayed text, you can manually fill in the text you want to display.
 +
 
 +
== Calling ==
 +
<nowiki>{{CACL|category name|text to be displayed}}</nowiki>
 +
 
 +
Example:
  
 
<nowiki>{{CACL|CHuN}}</nowiki>  
 
<nowiki>{{CACL|CHuN}}</nowiki>  
  
View:
+
Effect:
  
 
{{CACL|CHuN}}
 
{{CACL|CHuN}}
  
</includeonly><noinclude>[[Category:Template Readme]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 14:55, 8 December 2023

"CACL" means "Commons Artist Category Link".

This template can be used in articles about artists to generate a link to the category of the artist's work in Moegirl Commons.

Parameters

This template includes a total of two untitled parameters:

  • Untitled parameter 1: The Author category to which the artist's article corresponds, the default value is the page name. If the article name does not match the category name, fill it in manually to specify the category.
  • Untitled parameter 2: The content displayed by the link to the Author category, the default value is the page name. If only parameter 1 is filled in, the value is the content of parameter 1. If the category name does not match the displayed text, you can manually fill in the text you want to display.

Calling

{{CACL|category name|text to be displayed}}

Example:

{{CACL|CHuN}}

Effect:

For more works by this author, please click the link:CHuN