Difference between revisions of "Template:Akarin/doc"

From Moegirlpedia
Jump to: navigation, search
(Created page with "Now,usewidget:Akalinto ensure that the transparency can be changed in accuracy!You can use the template at will! == parameter == * First parameter:the text in the i...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Now,use[[widget:Akalin]]to ensure that the transparency can be changed in accuracy!You can use the template at will!
+
Now, use[[widget:Akarin]] to ensure that the transparency can be changed in accuracy! You can use the template at will!
  
== parameter ==
+
== Parameters ==
* First parameter:the text in the information case,默认值是<code><nowiki><big>Because of the[[Akarin]] Effect,this entry has low sence of presence,so please set the[[Evil Eye]]to the maximum aperture.</big></nowiki></code>
+
* First parameter: The text in the information case, the default value is <code><nowiki><big>Because of the[[Akarin]] Effect, this entry has low sense of presence, so please set the [[Evil Eye]] to the maximum aperture.</big></nowiki></code>
* opacity:the parameter to change the transparency,the default is 0.6
+
* opacity: The parameter to change the transparency, the default is 0.6.
* image:the picture on the left of the information case,the default is<code>Transparent Akkarin.jpg</code>,Caution:only pictures uploaded to Moe Girl Pedia can be used,and just insert the name of the picture instead of<code><nowiki>[[File:]]</nowiki></code>
+
* image: The picture on the left of the information template, the default is<code>Transparent Akkarin.jpg</code>,Caution:only pictures uploaded to Moegirlpedia can be used,and just insert the name of the picture instead of<code><nowiki>[[File:]]</nowiki></code>
* hint:the tip on the left of the button,the default is<code>the aperture of the[[Evil Eye]](the present aperture size)</code>
+
* hint: The tip on the left of the button, the default is<code>the aperture of the [[Evil Eye]](the present aperture size)</code>
  
{{color|red|Caution,there won't be bottoms to change the transparency on mobile ver.!}}
+
{{color|red|Caution,there won't be bottoms to change the transparency on mobile version!}}
  
{{color|red|Caution,this template will set some kinds of templates position and z-index。}}
+
{{color|red|Caution,this template will set some kinds of templates position and z-index.}}
  
 
The template acts on its parent element. In general, this is the whole body part.
 
The template acts on its parent element. In general, this is the whole body part.
  
 
== Example ==
 
== Example ==
If you want to use the template on parts of the text,you can create <nowiki><div>(the template)</div></nowiki>。
+
If you want to use the template on parts of the text, you can create <nowiki><div>(the template)</div></nowiki>。
 
<pre>
 
<pre>
 
<div>
 
<div>

Latest revision as of 19:31, 28 October 2021

Now, usewidget:Akarin to ensure that the transparency can be changed in accuracy! You can use the template at will!

Parameters

  • First parameter: The text in the information case, the default value is <big>Because of the[[Akarin]] Effect, this entry has low sense of presence, so please set the [[Evil Eye]] to the maximum aperture.</big>
  • opacity: The parameter to change the transparency, the default is 0.6.
  • image: The picture on the left of the information template, the default isTransparent Akkarin.jpg,Caution:only pictures uploaded to Moegirlpedia can be used,and just insert the name of the picture instead of[[File:]]
  • hint: The tip on the left of the button, the default isthe aperture of the Evil Eye(the present aperture size)

Caution,there won't be bottoms to change the transparency on mobile version!

Caution,this template will set some kinds of templates position and z-index.

The template acts on its parent element. In general, this is the whole body part.

Example

If you want to use the template on parts of the text, you can create <div>(the template)</div>。

<div>
The text of Akarin
{{Akarin}}
text text text text text text text
</div>

You can also change the default transparency

<div>
the text of Akarin
{{Akarin
|opacity=0.3
}}
text
</div>