Mobile app version of vmapp.org
Login or Join
Martha676

: MediaWiki Simple Syntax for Cross Reference of Figures I would like to reference Figures in my wiki, much like you can in LaTeX. For example, say: "As you can see in Figure 3, mediawiki is

@Martha676

Posted in: #Images #Markup #Mediawiki

I would like to reference Figures in my wiki, much like you can in LaTeX. For example, say: "As you can see in Figure 3, mediawiki is awesome".

I found the CrossReference extension which does what I want, however, the HTML markup for it is too verbose and does not seem to be part of the regular MediaWiki syntax.

I would like to specify a Figure id inside the [[File:bla.jpg]] syntax for specifying images. Is this possible?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha676

1 Comments

Sorted by latest first Latest Oldest Best

 

@XinRu657

I don't think I get what you are trying to do. If you want to reference objects inside a page, you can give each object an ID, and form the links so they will point to the ID you you've tagged.

Template page:

<div id="{{{ID|1}}}">{{{object|2}}}</div>


On relevant pages:

{{obj|cool_table|image}}

...some text...[[#cool_table|in figure 4]] ...rest of text...

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme