Vorlage:Wortwolke: Unterschied zwischen den Versionen

Aus KGS-Wiki
Keine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 2: Zeile 2:
graph Wortwolke {
graph Wortwolke {
fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"
fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"
node [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif",shape="circle"]
node [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"]
edge [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"]
edge [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"]
layout=twopi
layout=twopi
     root={{{1|Lorem}}}
     root={{{1|Lorem}}}
     overlap=false
     overlap=false
{ {{{1|Lorem}}} [fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{1|Portal:Latein}}}",label=<<B>{{{1|Lorem}}}</B>>] };
{ {{{1|Lorem}}} [fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{1|Portal:Latein}}}",label=<<B>{{{1|Lorem}}}</B>>, penwidth=2] };
{{#af_foreach: {{#invoke:Verb|parseArray|{{{2|ipsum:LA,dolor:ES,sit:GB}}}}} | word | lang | { {{{word}}} [{{#ifeq:{{{lang}}}|LA|fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{word}}}" |label="{{{word}}}\n{{Flagge|{{{lang}}}}}"}}] }; {{{1|Lorem}}} -- {{{word}}};}}
{{#af_foreach: {{#invoke:Verb|parseArray|{{{2|ipsum:LA,dolor:ES,sit:GB}}}}} | word | lang | { {{{word}}} [{{#ifeq:{{{lang}}}|LA|fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{word}}}" |label="{{{word}}}\n{{Flagge|{{{lang}}}}}"}}] }; {{{1|Lorem}}} -- {{{word}}};}}
}
}
|format=svg}}</onlyinclude>|CAPTION=Eine Beispiel-Wortwolke
|format=svg}}</onlyinclude>|CAPTION=Eine Beispiel-Wortwolke
}}
}}
{{#tag:graphviz|
graph Wortwolke {
fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"
node [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif",shape="circle"]
edge [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"]
layout=twopi
    root=vocare
    overlap=false
{ vocare [fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/vocare",label=<<B>vocare</B>>] };
{{#af_foreach: {{#invoke:Verb|parseArray|vox:LA}} | word | lang | { {{{word}}} [{{#ifeq:{{{lang}}}|LA|fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{word}}}" |label="{{{word}}}\n{{Flagge|{{{lang}}}}}"}}] }; vocare -- {{{word}}};}}
}
|format=svg}}

Version vom 7. Mai 2024, 21:33 Uhr

Diagrams error (with dot command): Error: /tmp/diagrams_in8e84ba31d7c3.dot: syntax error in line 9 near '-'

Eine Beispiel-Wortwolke