切換菜單
切換偏好設定選單
切換個人選單
尚未登入
若您做出任何編輯,會公開您的 IP 位址。

微信公众号 CCBible/Bible101/DBible 微博@基督徒百科@Bible101@歌珊地圣经引擎@如鹰展翼而上 QQ群 4619600/226112909/226112998 同步推送#今日真道圣言#


字詞轉換基礎模板用來在一個頁面裏,轉換不同地區的翻譯用語或指定特定的標題,構成該基礎模板有:

  • {{[[{{#switch:
|#default = CH 
| = 
   {{#ifeq:  | 
     | Template:CH            
     | CH      
   }}

}}|CH]]{{#if:||{{{arg}}}}}}}(Convert Header):字詞轉換開始,作用是生成下拉提示信息鏈接。

  • {{[[{{#switch:
|#default = CTitle 
| = 
   {{#ifeq:  | 
     | Template:CTitle            
     | CTitle      
   }}

}}|CTitle]]{{#if:||{{{arg}}}}}}}(Convert Title):標題轉換

  • {{[[{{#switch:
|#default = CContentH 
| = 
   {{#ifeq:  | 
     | Template:CContentH            
     | CContentH      
   }}

}}|CContentH]]{{#if:||{{{arg}}}}}}}(Convert Content Header):全文轉換開始

  • {{[[{{#switch:
|#default = CGroup 
| = 
   {{#ifeq:  | 
     | Template:CGroup            
     | CGroup      
   }}

}}|CGroup]]{{#if:||{{{arg}}}}}}}(Convert Group):引入已定義的全文轉換組,方便某一主題的轉換共享

  • {{[[{{#switch:
|#default = CItem 
| = 
   {{#ifeq:  | 
     | Template:CItem            
     | CItem      
   }}

}}|CItem]]{{#if:||{{{arg}}}}}}}(Convert Item):單項全文轉換

  • {{[[{{#switch:
|#default = CContentF 
| = 
   {{#ifeq:  | 
     | Template:CContentF            
     | CContentF      
   }}

}}|CContentF]]{{#if:||{{{arg}}}}}}}(Convert Content Footer):全文轉換結束

  • {{[[{{#switch:
|#default = CF 
| = 
   {{#ifeq:  | 
     | Template:CF            
     | CF      
   }}

}}|CF]]{{#if:||{{{arg}}}}}}}(Convert Footer):字詞轉換結束,作用是生成提示信息尾部 模板{{[[{{#switch:

|#default = NoteTA 
| = 
   {{#ifeq:  | 
     | Template:noteTA            
     | NoteTA      
   }}

}}|noteTA]]{{#if:||{{{arg}}}}}}}和各類主題轉換模板是對本模板系列的一個簡化用法的套用。

使用說明

用法為:

字詞轉換開始{{CH}}

標題轉換(可省略){{CTitle|標題轉換維基語法|desc=標題轉換說明}}

全文轉換開始(如無全文轉換,可省略){{CContentH|title=全文轉換區的欄頭說明}}

引入其它轉換組,可重複使用{{CGroup|轉換組名稱}}
{{CGroup|轉換組名稱}}
……

固定轉換,可重複使用{{CFixedRule|固定轉換詞語}}
{{CFixedRule|固定轉換詞語}}
……

單項轉換,可重複使用{{CItem|全文轉換維基語法|desc=轉換說明}}
{{CItem|全文轉換維基語法|desc=轉換說明}}
……

全文轉換結束{{CContentF}}

字詞轉換結束{{CF}}

  • {{[[{{#switch:
|#default = CH 
| = 
   {{#ifeq:  | 
     | Template:CH            
     | CH      
   }}

}}|CH]]{{#if:||{{{arg}}}}}}}、{{[[{{#switch:

|#default = CF 
| = 
   {{#ifeq:  | 
     | Template:CF            
     | CF      
   }}

}}|CF]]{{#if:||{{{arg}}}}}}}必須成對使用,{{[[{{#switch:

|#default = CContentH 
| = 
   {{#ifeq:  | 
     | Template:CContentH            
     | CContentH      
   }}

}}|CContentH]]{{#if:||{{{arg}}}}}}}、{{[[{{#switch:

|#default = CContentF 
| = 
   {{#ifeq:  | 
     | Template:CContentF            
     | CContentF      
   }}

}}|CContentF]]{{#if:||{{{arg}}}}}}}必須成對使用。

  • {{[[{{#switch:
|#default = CItem 
| = 
   {{#ifeq:  | 
     | Template:CItem            
     | CItem      
   }}

}}|CItem]]{{#if:||{{{arg}}}}}}}、{{[[{{#switch:

|#default = CGroup 
| = 
   {{#ifeq:  | 
     | Template:CGroup            
     | CGroup      
   }}

}}|CGroup]]{{#if:||{{{arg}}}}}}}兩種全文轉換模板必須放在{{[[{{#switch:

|#default = CContentH 
| = 
   {{#ifeq:  | 
     | Template:CContentH            
     | CContentH      
   }}

}}|CContentH]]{{#if:||{{{arg}}}}}}}、{{[[{{#switch:

|#default = CContentF 
| = 
   {{#ifeq:  | 
     | Template:CContentF            
     | CContentF      
   }}

}}|CContentF]]{{#if:||{{{arg}}}}}}}對之間。

其它參數說明:

  • desc:轉換描述說明,可省略。
  • {{[[{{#switch:
|#default = CTitle 
| = 
   {{#ifeq:  | 
     | Template:CTitle            
     | CTitle      
   }}

}}|CTitle]]{{#if:||{{{arg}}}}}}}可以有title參數:填寫標題轉換欄頭的提示文字,可省略(將採用下面1),也可以用內置的數字參數:

|#default = CContentH 
| = 
   {{#ifeq:  | 
     | Template:CContentH            
     | CContentH      
   }}

}}|CContentH]]{{#if:||{{{arg}}}}}}}可以有title參數:填寫全文轉換欄的提示文字,可省略(將採用下面1)。也可以用內置的參數:

|#default = CH 
| = 
   {{#ifeq:  | 
     | Template:CH            
     | CH      
   }}

}}|CH]]{{#if:||{{{arg}}}}}}}可以有style參數:彈出內容的樣式,可省略。

  • {{[[{{#switch:
|#default = CTitle 
| = 
   {{#ifeq:  | 
     | Template:CTitle            
     | CTitle      
   }}

}}|CTitle]]{{#if:||{{{arg}}}}}}}可以有style參數:標題轉換區欄頭的樣式,可省略。

  • {{[[{{#switch:
|#default = CContentH 
| = 
   {{#ifeq:  | 
     | Template:CContentH            
     | CContentH      
   }}

}}|CContentH]]{{#if:||{{{arg}}}}}}}可以有style參數:全文轉換區欄頭的樣式,可省略。

  • {{[[{{#switch:
|#default = CTitle 
| = 
   {{#ifeq:  | 
     | Template:CTitle            
     | CTitle      
   }}

}}|CTitle]]{{#if:||{{{arg}}}}}}}{{[[{{#switch:

|#default = CContentH 
| = 
   {{#ifeq:  | 
     | Template:CContentH            
     | CContentH      
   }}

}}|CContentH]]{{#if:||{{{arg}}}}}}}{{[[{{#switch:

|#default = CF 
| = 
   {{#ifeq:  | 
     | Template:CF            
     | CF      
   }}

}}|CF]]{{#if:||{{{arg}}}}}}}還有一個不常用的命名參數──linkStyle:可以用來指定連接的顯示樣式。