Topic on Extension talk:WikiHiero

How use a expandable code instead a text between <hiero> tag's ?

5
Amadalvarez (talkcontribs)

I'm tring to handle the text of hiero as a variable that send to a template or to have in Wikidata as a information.

  • If I hold the info in WD with hiero tag's, when get I receive all the content as a text and the hiero tags doesn't act.
  • If I hold just the text and, after get it, I put it between the hiero tag, it acts before expand the variable. So, the final result is something like <hiero>{{{1|}}}</hiero> or <hiero>{{#invoke:Wikidata| .....}}</hiero>

I tried to have a template just with a <hiero> to avoid write the tag before variable and allow the expansion, like: {{hiero}}{{{1|}}}</hiero>. In this case the result is: <hiero>i-mn:n:U6-G40:D37-W1</hiero> without execute the hiero tag.

How should I manage it ?

Jdforrester (WMF) (talkcontribs)

You can't pass content into a tag extension like that (except for very rare examples like Cite), sorry.

Amadalvarez (talkcontribs)

Thanks. Does somebody is thinking in hold this information (in another format, perhaps) in wikidata ?. thanks a lot

Jdforrester (WMF) (talkcontribs)
Amadalvarez (talkcontribs)

OK. I'll study this way.

Reply to "How use a expandable code instead a text between <hiero> tag's ?"