Giter Site home page Giter Site logo

Comments (3)

mwjames avatar mwjames commented on June 19, 2024

However, an issue is occurring when {{{issue}}} does not exist in the citation imported with the Find citable metadata special page. If the parameter exists, I get the issue number as expected in the citation. However, if there is no issue number, I get {{{issue}}} which does not look very nice in the citation.

Hopefully, I understand the issue correctly which is about the template. Formatting via a template applies any other freedom a MW template gives you to transform content. You can see in example [0] that for example {{{volume|}}} is only displayed for when it is available by making use of the #if: parser function.

Instead of having predefined rules on how citation text is to be displayed, templates define the rules individually. If certain fields are expected but sometimes should be omitted then employing conditional parser functions such as #if: can help to shape the output.

[0] http://sandbox.semantic-mediawiki.org/w/index.php?title=Template:SciteMLACitationFormatter&action=edit

from semanticcite.

Cereil23 avatar Cereil23 commented on June 19, 2024

Thanks a lot. You understood the issue, and this helps fix it.

I really like the Semantic Cite extension.

By the way, what did you use to generate the diagram of the architecture of Sementic Cite in the document 09-notes (Technical Notes)?

Thanks

from semanticcite.

mwjames avatar mwjames commented on June 19, 2024

Thanks a lot. You understood the issue, and this helps fix it.

Your welcome.

what did you use to generate the diagram of the architecture

Made plain and simple by hand using LibreOffice Impress.

from semanticcite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.