Vorlage:Wortwolke: Unterschied zwischen den Versionen

Aus KGS-Wiki
(Die Seite wurde neu angelegt: „{{Thumbnailbox|INHALT={{#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"] edge [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"] layout=neato {node [fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{1|Portal:Latein}}}"] {{{1|Lorem}}} } {{#af_foreach: {{#af_object: {{#af_…“)
 
(Nodes)
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"]
node [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif",shape="circle"]
edge [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"]
edge [fontname="Source Sans Pro,Linux Biolinum,Helvetica,Arial,sans-serif"]
layout=neato
layout=neato
{node [fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{1|Portal:Latein}}}"] {{{1|Lorem}}} }
{{{{1|Lorem}}} [fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{1|Portal:Latein}}}"] };
    {{#af_foreach: {{#af_object: {{#af_split: ipsum=LA,dolor=FR }} | word | lang | {node {{#ifeq:{{{lang}}}|LA|[fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{word}}}"]|}} {{{word}}} {{#ifeq:{{{lang}}}|LA||{{Flagge|{{{lang}}}}}}} } }}
{{#af_foreach: {{#af_object: ipsum=LA|dolor=ES}} | word | lang | {{{word}}} [{{#ifeq:{{{lang}}}|LA|fontname="Source Serif Pro,Linux Libertine,Times New Roman,serif", URL="wiki/{{{word}}}" |label="{{{word}}}\n{{Flagge|{{{lang}}}}}"}}]; }}
}
}
|format=svg}}
|format=svg}}
}}
}}

Version vom 7. Mai 2024, 14:40 Uhr