Index talk:Synoptical studies in the Chinese character (1874).djvu

From Wikisource
Jump to navigation Jump to search

Guidelines[edit]

I have all of those in my common.js Assassas77 (talk) 10:23, 17 September 2017 (UTC)[reply]

  • Code to create a rule
|colspan="2"|{{rule|7em}}
|-
  • Code to create an entry
|{{Synopt entry|0|一}} {{WG|a|0}}
|-
  • Code to write a word with its Wade pronunciation
{{Synopt character|一}} {{WG|a|0}}
  • Code to link to another entry
{{Synopt see|164}}
  • Code to leave some space after a "Hence:—"
|
|-
  • We start each page with :
{{nop}}
|-
  • If the block of entry "continues" to the next page, we end the page with :
{{nop}}
  • Otherwise, imperatively end with :
<includeonly>|-
|colspan="2"|{{rule|7em}}</includeonly>
{{nop}}

Header[edit]

  • Simple header
{|{{ts|ma}}
  • Header with "Continued—"
{{c|{{sm|Continued—}}}}
{|{{ts|ma}}

Footer[edit]

  • Simple footer
|-
|}
  • Footer with "Continued—"
|-
|}
{{right|{{smaller|Continued—}}}}

Replacing using regex[edit]

I'm using that regular expression to update the earliest pages to add the template :

From:

  • \| ([0-9]+) \|\| \{\{xx-larger\|'''(.)'''\}\} —

To:

  • |{{Synopt entry|$1|$2}}