source: extensions/ExtendedDescription/language/zh_CN/help.html @ 16172

Last change on this file since 16172 was 16172, checked in by mistic100, 12 years ago

-help buttons added with a prefilter, update for 2.4
-update fr and en help files (only)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 3.9 KB
Line 
1<div style="text-align:left;">
2<h2>扩展描述</h2>
3
4<h3>多语言描述</h3>
5
6<p>多语言描述可放在[lang=xx] 和 [/lang] 标签之间, 其中 xx 是语言代码(如 en,es,cn,fr)。另外还有2个特别的语言: [lang=default] 和 [lang=all]</p>
7
8<ul>
9  <li><b>例如</b>:<br>
10  <br>
11<code>[lang=default] 默认描述 [/lang]<br>
12[lang=en] description in english [/lang]<br>
13[lang=de] deutsche Beschreibung [/lang]</code>
14</li>
15</ul>
16
17<p>
18如果用户选择的语言不能使用,将显示默认描述。如果没有 [lang=default] 标签,所有在 [lang] 外的将会以默认描述显示。
19</p>
20
21<p><u> 特别语言<i>all</i></u>: 所有在 [lang=all] 标签里的将被包含进描述,不论用户指定了什么语言。这个主要的用处是对于 HTML/JavaScript 等代码在描述里的显示。</p>
22
23<h3>扩展描述</h3>
24
25<p>扩展描述的标记,使我们能够有一个简短描述在分类外部,同时有一个详细的描述在分类内部页面,或者甚至有2个不同的分类说明在一个分类页面里。</p>
26
27<p>tag &lt;!--more--&gt; 添加简短的描述文本.<br>
28tag &lt;!--complete--&gt; 让用户有2种不同的描述.<br>
29tag &lt;!--up-down--&gt; 让用户可有一个顶部和底部的描述.</p>
30
31<ul>
32  <li><b>tag &lt;!--more--&gt;</b></li>
33</ul>
34<code>简短的描述 &lt;!--more--&gt; 详细描述</code>
35<p>只有简短的描述会在分类外显示,在分类页面里,您将看到简短描述 + 详细描述.</p>
36
37<ul>
38  <li><b>标签 &lt;!--complete--&gt;</b></li>
39</ul>
40<code>简短的描述 &lt;!--complete--&gt; 详细描述</code>
41<p>只有简短的描述会在分类外显示,在分类页面里,您只能看到详细描述,因此您可以有2种不同的描述.</p>
42
43<ul>
44  <li><b>标签 &lt;!--up-down--&gt;</b></li>
45</ul>
46<code>顶部描述 &lt;!--up-down--&gt; 底部描述</code>
47<p>只有顶部描述会在分类外显示,在分类页面里,顶部描述会显示在缩略图上方,底部描述会显示在缩略图的下方.</p>
48
49<h3>插入一个分类或相片</h3>
50
51<ul>
52  <li><b>标签 [cat=xx]</b></li>
53</ul>
54<p>此标签将把一个分类插入到描述里,xx 即分类的ID.</p>
55
56<ul>
57  <li><b>标签 [img=xx1 xx2 xxN;yyyy;name]</b></li>
58</ul>
59<p>此标签可以在描述里插入一张或者多张缩略图:<br><br>
60- xx 是相片的ID; 您可以在相片ID旁边添加分类的ID: <code>xx.ccc</code>.
61<br>
62- yyyy (optional) : 可输入任何值,如:{left, right}.</p>
63- name (optional) : 可输入任何值,如:{name, titleName}. 如果填写了此项为 <i>name</i> ,那么将在缩略图下显示此相片的名称,如果填写为 <i>titleName</i> ,相片里的 &lt;title&gt; 标记里的内容将会替换了名称的内容.</p>
64
65
66<h3>隐藏一个分类</h3>
67
68<p>在分类名称里使用标签 <b>&lt;!--hidden--&gt;</b> :<br>
69<br>
70- 它将不会在父分类中显示<br>
71- 但它仍可在分类菜单中看见</p>
72
73<h3>隐藏菜单中的分类</h3>
74
75<p>在分类名称里使用标签 <b>&lt;!--mb-hidden--&gt;</b> :<br>
76<br>
77- 它将不会在分类菜单中显示<br>
78- 但它仍可在父级分类中看见</p>
79
80<h3>隐藏一张相片</h3>
81
82<p>在相片名称中使用标签 <b>&lt;!--hidden--&gt;</b>:<br>
83<br>
84- 它将不会在缩略图页面中显示<br>
85- 但它仍可在分类页面里看见</p>
86
87<!-- TODO -->
88<h3>Redirected category</h3>
89
90<ul>
91  <li><b>[redirect http://piwigo.org]</b></li>
92</ul>
93<p>Insert this tag into a category description to redirect it to the URL of your choice.</p>
94
95<ul>
96  <li><b>[redirect img=xx]</b></li>
97</ul>
98<p>Redirect to an image of your gallery where xx is the photo identifier; you can add the category identifier next to the photo identifier: <code>xx.ccc</code>.</p>
99
100<ul>
101  <li><b>[redirect cat=xx]</b></li>
102</ul>
103<p>Redirect to a category of your gallery where xx the category identifier.</p>
104
105<ul>
106  <li><b>[redirect search=xx]</b></li>
107</ul>
108<p>Redirect to a search page of your gallery where xx is the search identifier.</p>
109</div>
Note: See TracBrowser for help on using the repository browser.