Difference between revisions of "Code toolbox"

From Sereer wiki
Jump to navigationJump to search
Line 75: Line 75:
   
 
<gl id="ex1">
 
<gl id="ex1">
  +
mexe waʄna foofi'.
  +
\gll me- xe waʄ -na foofi'
  +
1SG CONT boil CAUS water
  +
\trans I am boiling water. (045)
  +
</gl>
  +
  +
<gl id="ex2">
 
\gll ela'l-ul magasan-g
 
\gll ela'l-ul magasan-g
 
bring-1>2 store-LOC
 
bring-1>2 store-LOC

Revision as of 18:58, 29 November 2012

Verb Paradigms

Present: jaw (to cook)
Gloss Sereer Gloss Sereer
I cook jawaam we cook injawa
you cook jawaa you (pl) cook nunjawa
s/he cooks ajawa they cook anjawa

Template for the table:

Present:
Gloss Sereer Gloss Sereer
I ... -aam we ... i[mut]- -a
you ... -aa you (pl) ... nu[mut]- -a
s/he ... -a they ... a[mut]- -a

To highlight individual cells in a paradigm, mimic the code here. For instance, let's say we want to highlight the fact that plural verb stems undergo consonant mutation, and we like blue. We paste the code style="background: blue; color: white" | (note the stem at the end) into the beginning of the cell:

Present:
Gloss Sereer Gloss Sereer
I ... -aam we ... i[mut]- -a
you ... -aa you (pl) ... nu[mut]- -a
s/he ... -a they ... a[mut]- -a

Interlinear Glosses

To make an interlinear gloss, the code below is a start.

Unparsed content Unparsed content Unparsed content Unparsed content Unparsed content
Morph 1 Morph 2 Morph 3 Morph 4 Morph 5
Gloss 1 Gloss 2 Gloss 3 Gloss 4 Gloss 5

Free translation Free translation Free translation Free translation Free translation

An example of usage:

mexe waʄna foofi'.
me- xe waʄ -na foofi'
1SG CONT boil CAUS water

I am boiling water. (045)


<gl id="ex1"> mexe waʄna foofi'. \gll me- xe waʄ -na foofi' 1SG CONT boil CAUS water \trans I am boiling water. (045) </gl>

<gl id="ex2"> \gll ela'l-ul magasan-g bring-1>2 store-LOC \trans I'm bringing you to the store. </gl>

Citations

I am working on a way of including a references template in our set of Mediawiki files. Faytak 18:31, 2 November 2012 (UTC)